SECEditBlockBuffer::SetLineEnd
voidSECEditBlockBuffer::SetLineEnd(TCHARchLineEnd)
Sets the character that will be used to determine the line ends in the text buffer.
Defined in: SECEditBlockBuffer.cpp
Return Value
void
Parameters
chLineEnd
Line end character.
Developer Notes
The character returned by GetLineEnd will be used to determine the line ends for lines of text in this text buffer. The visible length of this line will be calculated by finding the characters up to the character returned by GetLineBreakChar or GetLineEnd. For example, in the DevStudio editor a line can be terminated with the \\r\\n combination or by \\n. To emulate this behavior in Objective Edit, the line break character should be set to \\r and the line end character should be set to \\n. (This is the default setting)This could be used in the situation where you wanted to "hide" some data at the end of line, for example: This is a line\\rHidden text\\n OE would report the length of this line as 27, and the visible portion of the line as 14. Only the 1st 14 characters of this line would be rendered.
See Also
SECEditBlockBuffer ISECEditBuffer GetLineEnd GetLineBreakChar SetLineBreakChar