DHTMLEdit - Registered Users - Helpdesk
ToggleNumbering; bug
Thread Starter: amos Started: 6/28/2008 11:32 AM UTC
Replies: 4
ToggleNumbering; bug
hi

start a new document
type in something like: hi there, and press <enter>
then press a button that does the following:
editor.ToggleNumbering;

the "hi there," gets number 1 even though it should be out of the numbering area


Re: ToggleNumbering; bug
Hi Amos,

Can't reproduce - please include a small sample project (source + exe).


-Nicholas
Re: ToggleNumbering; bug
hi

attached demo + sources

This message includes the following attachments:

Re: ToggleNumbering; bug
The ToggleNumbering method acts on the selection, or if nothing is selected, on the current paragraph. In your project the UseBrOnCarriageReturn property of the component is set to True. So in your example the current paragraph is the entire document.


-Nicholas
Re: ToggleNumbering; bug
thanks