Editor wonkiness when completing Variable substitons

This is rather tricky to reproduce, but basically when completing Variables using the enter key where another variable follows the text being modified on another line, the text between the variables is deleted.  (I've also seen an instance where text gets replicated, but that's less of an issue.)

To reproduce using FinalBuilder 6.3.0.1847 on Windows XP 64-bit:

  1. create an empty project.
  2. add a project variable, say named "Test"
  3. ( this occurs in any edit box ) create a "Set Variable" Action.
  4. Choose "New Value" for "New Value".
  5. Enter the text ( including newline ): "%Test%
    A %Test%"
  6. On the first line, delete "st%".
  7. When the Variable completion appears, select "Test".
  8. The newline and "A" disappear, leaving: "%Test% %Test%".

This is mostly an annoyance.  I really appreciate the variable name completion feature.

Hi John

Thanks for the report. I can reproduce the bug here. I will have a look and see if it’s simple to fix, if not then it might have to wait for FB7, as we are hoping to have time to completely redo the variable completion code… it’s a little too fragile at the moment (it’s had too many band aid type fixes) and really needs a new parser.

Ok, the fix turned out to be simple… new build :

https://www.finalbuilder.com/downloads/finalbuilder/630/FB630_1850.exe

Thank you!
That seems to work great.

And my XML and SQL statements thank you!