10-20-2014, 05:28 AM
I tried to compose the code for setting the text for the complete text and selected text but it was to difficult.
I found here:
http://www.scintilla.org/ScintillaDoc.html#SCI_SETTEXT
The following two text modification commands:
1)
This replaces all the text in the document with the zero terminated text string you pass in:
2)
The currently selected text between the anchor and the current position is replaced by the 0 terminated text string. If the anchor and current position are the same, the text is inserted at the caret position. The caret is positioned after the inserted text and the caret is scrolled into view:
I found here:
http://www.scintilla.org/ScintillaDoc.html#SCI_SETTEXT
The following two text modification commands:
1)
This replaces all the text in the document with the zero terminated text string you pass in:
2)
The currently selected text between the anchor and the current position is replaced by the 0 terminated text string. If the anchor and current position are the same, the text is inserted at the caret position. The caret is positioned after the inserted text and the caret is scrolled into view:
