Posted 18 years ago
by Krispy
Hello - I have been trying to implement the DeleteHorizontalWhitespace method of the SyntaxEditor control.
If I select the following text and trigger the DeleteHorizontalWhitespace method:
I would expect to see "abc" in the editor, however the following string is displayed instead:
If I trigger the DeleteHorizontalWhitespace method for a second time, the editor displays "abc", which is what I was expecting the first time the method was fired.
Is this a bug with the DeleteHorizontalWhitespace method or is my understanding of the method flawed?
Thanks in advance.
If I select the following text and trigger the DeleteHorizontalWhitespace method:
Quote:
a.......b.......c
(where '.' is whitespace)
I would expect to see "abc" in the editor, however the following string is displayed instead:
Quote:
a.b.c
If I trigger the DeleteHorizontalWhitespace method for a second time, the editor displays "abc", which is what I was expecting the first time the method was fired.
Is this a bug with the DeleteHorizontalWhitespace method or is my understanding of the method flawed?
Thanks in advance.