-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
postgenerator doesn't work inside word blanks like [[t:text…]] #107
Labels
bug
Something isn't working
Comments
unhammer
changed the title
postgenerator doesn't work inside word blank like [[t:text…]]
postgenerator doesn't work inside word blanks like [[t:text…]]
Jan 28, 2021
unhammer
added a commit
that referenced
this issue
Jan 28, 2021
TinoDidriksen
pushed a commit
that referenced
this issue
Feb 11, 2021
TinoDidriksen
pushed a commit
that referenced
this issue
Feb 11, 2021
unhammer
added a commit
that referenced
this issue
Jun 11, 2021
There was already support for [[w:text:foo]]~zzy[[/]] but not for [[w:text:foo]]xy~zzy[[/]] This change should keep the old feature of moving wblank-start after the post-generated part of [[w:text:foo]]~zzy[[/]] (so if there was a rule turning ~z into Z we get Z[[w:text:foo]]zy[[/]]), but if the wake-up-mark ~ is seen later in the wblank, it stays surrounded, so [[w:text:foo]]xy~zzy[[/]] turns into [[w:text:foo]]xyZzy[[/]]. + tests for #107
unhammer
added a commit
that referenced
this issue
Jun 11, 2021
There was already support for [[w:text:foo]]~zzy[[/]] but not for [[w:text:foo]]xy~zzy[[/]] This change should keep the old feature of moving wblank-start after the post-generated part of [[w:text:foo]]~zzy[[/]] (so if there was a rule turning ~z into Z we get Z[[w:text:foo]]zy[[/]]), but if the wake-up-mark ~ is seen later in the wblank, it stays surrounded, so [[w:text:foo]]xy~zzy[[/]] turns into [[w:text:foo]]xyZzy[[/]]. + tests for #107
unhammer
added a commit
that referenced
this issue
Jun 11, 2021
There was already support for [[w:text:foo]]~zzy[[/]] but not for [[w:text:foo]]xy~zzy[[/]] This change should keep the old feature of moving wblank-start after the post-generated part of [[w:text:foo]]~zzy[[/]] (so if there was a rule turning ~z into Z we get Z[[w:text:foo]]zy[[/]]), but if the wake-up-mark ~ is seen later in the wblank, it stays surrounded, so [[w:text:foo]]xy~zzy[[/]] turns into [[w:text:foo]]xyZzy[[/]]. + tests for #107
unhammer
added a commit
that referenced
this issue
Jun 11, 2021
There was already support for [[w:text:foo]]~zzy[[/]] but not for [[w:text:foo]]xy~zzy[[/]] This change should keep the old feature of moving wblank-start after the post-generated part of [[w:text:foo]]~zzy[[/]] (so if there was a rule turning ~z into Z we get Z[[w:text:foo]]zy[[/]]), but if the wake-up-mark ~ is seen later in the wblank, it stays surrounded, so [[w:text:foo]]xy~zzy[[/]] turns into [[w:text:foo]]xyZzy[[/]]. + tests for #107
unhammer
added a commit
that referenced
this issue
Jun 11, 2021
There was already support for [[w:text:foo]]~zzy[[/]] but not for [[w:text:foo]]xy~zzy[[/]] This change should keep the old feature of moving wblank-start after the post-generated part of [[w:text:foo]]~zzy[[/]] (so if there was a rule turning ~z into Z we get Z[[w:text:foo]]zy[[/]]), but if the wake-up-mark ~ is seen later in the wblank, it stays surrounded, so [[w:text:foo]]xy~zzy[[/]] turns into [[w:text:foo]]xyZzy[[/]]. + tests for #107 + necessary changes for combineWblanks (can now get called when no opening wblanks in queue)
unhammer
added a commit
that referenced
this issue
Jun 11, 2021
There was already support for [[w:text:foo]]~zzy[[/]] but not for [[w:text:foo]]xy~zzy[[/]] This change should keep the old feature of moving wblank-start after the post-generated part of [[w:text:foo]]~zzy[[/]] (so if there was a rule turning ~z into Z we get Z[[w:text:foo]]zy[[/]]), but if the wake-up-mark ~ is seen later in the wblank, it stays surrounded, so [[w:text:foo]]xy~zzy[[/]] turns into [[w:text:foo]]xyZzy[[/]]. + tests for #107 + necessary changes for combineWblanks (can now get called when no opening wblanks in queue)
@unhammer sorry I've been incredibly busy with my masters thesis and plus there was some talk about post generator being rewritten so I never got around to this. Hope it wasn't too annoying to deal with my wblanks code. Thanks! |
no problem, wasn't too big of a change after I put some time into understanding how it worked |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nob-nno.autopgen.bin.zip
without
[[
worksas expected, but:
(original example from a big docx where there were many words inside the
[[
)The text was updated successfully, but these errors were encountered: