WPCubed Product Support

InputMergeField Bug in Release 30.3

InputMergeField is not placed at the cursor position in this release. This bug is easily reproduced using the TextObjects demo as follows:

Type a new line with the word 'Hello'. Place the cursor at the end of the land and press the 'Insert Merge Field' button. The merge field will be inserted between the l and o NOT at the end of the line - eg:

hell<<Julian>>o

I am sure this will be fixed with your usual speed

#1 ♥ 0
4k Views 2 users read 1 min
support

Hi,

I am not sure if this is new.

In WPCtrMemo please modify this line

if (spar <nil>= spar.CharCount) then sposinpar := spar.CharCount - 1;

  • comment out "-1"

in function TWPCustomRtfEdit.InputMergeField( ...

Julian

#2 ♥ 0

Tank you,

I found this line is TWPCustomRtfEdit.InputCode not TWPCustomRtfEdit.InputMergeField.

ALSO this line does not exist in 24.3a so must have beein introduced in a later release

#3 ♥ 0
This category is archived. No new posts are possible.