>>
APLDN Home

>>
Events

>>
Trainings

>>
APL Books

>>
APLDN Links

>>
Discussion Groups

>>
Downloads

>>
Articles

>>
Library

>>
Learning Tools

>>
APLDN User IO

>>
APL2000.com




Bug Reports

Author Thread: RichEdit: referencing the ‘rft’ property resets undo queue
Nicolai.Ohm
RichEdit: referencing the ‘rft’ property resets undo queue
Posted: Saturday, May 20, 2006 2:07 PM (EST)

Just another small issue: When referencing the ‘rft’ property of a RichEdit control the undo queue is reset.


Just try the following

 

'fmForm'ŒWI'New' 'Form'ª'fmForm.red1'ŒWI'New' 'RichEdit'

 

Now type some text into the RichEdit control and test for the undo queue:

 

0 0½'fmForm.red1'ŒWI'text' ª'fmForm.red1'ŒWI'canundo'
1
0 0½'fmForm.red1'ŒWI'rtf' ª'fmForm.red1'ŒWI'canundo'
0

While referencing the text property does not affect the undo queue, referencing the rtf property will reset the queue


Comments:

Author Thread:
Support
RichEdit: referencing the ‘rft’ property resets undo queue
Posted: Monday, May 22, 2006 8:12 AM (EST)
We've not been able to reproduce this problem in versions 4.0.03 to 6.0.10.  In which version(s) are you seeing this problem?  And what is the operating system?

APL2000 Support 

     

Nicolai.Ohm
RichEdit: referencing the ‘rft’ property resets undo queue
Posted: Tuesday, May 23, 2006 3:54 AM (EST)

I tested this on two different Windows XP SP1 machines with APL+Win Version 4, 5 and 5.2 and I get always the same result that referencing the rtf property will clear the undo queue.


I‘m using the German Windows XP version, may this is the difference here. I suggest not to investigate this further as it’s a minor issue.

      'fm1'ŒWI'New' 'Form'
fm1
      'fm1.red1'ŒWI'New' 'RichEdit'
fm1.red1
      'fm1.red1'ŒWI'msversion'
3
      'fm1.red1'ŒWI'text'
some text
      'fm1.red1'ŒWI'canundo'
1
      'fm1.red1'ŒWI'rtf'
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fprq2\fcharset0 Sy
      stem;}}

\viewkind4\uc1\pard\b\f0\fs19 some text\par

}


      'fm1.red1'ŒWI'canundo'
0

     

Nicolai.Ohm
RichEdit: referencing the ‘rft’ property resets undo queue
Posted: Tuesday, September 26, 2006 2:54 PM (EST)

FYI:
This is a bug of the native Win32 RichEdit 3.0 control. This issue is fixed in RichEdit 4.0.

 

http://www.dotnet247.com/247reference/msgs/57/285839.aspx

 

 

     

Support
RichEdit: referencing the ‘rft’ property resets undo queue
Posted: Tuesday, September 26, 2006 5:24 PM (EST)
Thank you for posting the resolution to your problem.

     

Nicolai.Ohm
RichEdit: referencing the ‘rft’ property resets undo queue
Posted: Tuesday, September 26, 2006 5:57 PM (EST)

Actually, what I found out is that also newer Rich Edit 3.0 dll have the undo queue bug fixed.


On Windows XP Riched20.dll with version numbers larger 5.30.23.1215 (SP1) or 5.30.23.1216 (SP2) should work.


These versions can be downloaded from
http://www.mdgx.com/add.htm#RTF

     



APL2000 Official Web Site

When we try to pick out anything else in the Universe, we find it hitched to everything else in the Universe.
-- John Muir

APLDN Home   |    |  Events   |  Trainings   |  APL Books   |  APLDN Links   |    |  Discussion Groups   |    |  Downloads   |  Articles   |  Library   |  Learning Tools   |  APLDN User IO   |  APL2000.com   |