when find or replace at regex, such as ^$\r\n, The newline symbol at the end of the line cannot be recognized. If you want to replace these characters, you will fail. It's not a good idea。
Sci::Position BuiltinRegex::FindText(Document doc, Sci::Position minPos, Sci::Position maxPos, const char s,
bool caseSensitive, bool, bool, int flags,
......
Sci::Position startOfLine = doc->LineStart(line);
Sci::Position endOfLine = doc->LineEnd(line); ------->myabe to change with LineStart(line+1)
when find or replace at regex, such as ^$\r\n, The newline symbol at the end of the line cannot be recognized. If you want to replace these characters, you will fail. It's not a good idea。
Sci::Position BuiltinRegex::FindText(Document doc, Sci::Position minPos, Sci::Position maxPos, const char s, bool caseSensitive, bool, bool, int flags, ...... Sci::Position startOfLine = doc->LineStart(line); Sci::Position endOfLine = doc->LineEnd(line); ------->myabe to change with LineStart(line+1)