mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-10 03:54:54 -06:00
CtrlLib: TextCtrl, LineEdit, CodeEditor: view mode
git-svn-id: svn://ultimatepp.org/upp/trunk@11592 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
fe56d7c2cc
commit
3d0e1db02f
55 changed files with 1240 additions and 714 deletions
|
|
@ -7,7 +7,7 @@ DiffSyntax::DiffSyntax()
|
|||
hout = NULL;
|
||||
}
|
||||
|
||||
void DiffSyntax::Highlight(const wchar *start, const wchar *end, HighlightOutput& hls, CodeEditor *editor, int line, int pos)
|
||||
void DiffSyntax::Highlight(const wchar *start, const wchar *end, HighlightOutput& hls, CodeEditor *editor, int line, int64 pos)
|
||||
{
|
||||
hout = &hls;
|
||||
Do(start, end, editor, line, editor ? editor->GetTabSize() : 4, pos);
|
||||
|
|
@ -20,7 +20,7 @@ void DiffSyntax::Put(int ink, int n, int paper)
|
|||
hout->Put(n, hl_style[ink], hl_style[paper]);
|
||||
}
|
||||
|
||||
void DiffSyntax::Do(const wchar *ln, const wchar *end, CodeEditor *editor, int line, int tabsize, int pos)
|
||||
void DiffSyntax::Do(const wchar *ln, const wchar *end, CodeEditor *editor, int line, int tabsize, int64 pos)
|
||||
{
|
||||
const int lineLength = FindTheNumberOfCharsToLineEnd(ln, end);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue