diff options
author | nyamatongwe <devnull@localhost> | 2000-03-16 11:43:39 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2000-03-16 11:43:39 +0000 |
commit | 01cd695dc8d693c39500f24adf689d08d77d39da (patch) | |
tree | 3837357cf607234f40e4b4705c24da1e40ba0758 /src/Document.h | |
parent | 8c214e65f503275192e2f3f9dea97fbb65a38254 (diff) | |
download | scintilla-mirror-01cd695dc8d693c39500f24adf689d08d77d39da.tar.gz |
Split up KeyWords.cxx into 7 individual lexer files Lex*.cxx.
Fixed setting up of second view to get right document length.
Changed Python lexer to handle empty lines immediately after fold line
and last line of document.
Diffstat (limited to 'src/Document.h')
-rw-r--r-- | src/Document.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Document.h b/src/Document.h index d97d59078..59215c75a 100644 --- a/src/Document.h +++ b/src/Document.h @@ -160,6 +160,7 @@ public: void SetStyleFor(int length, char style); void SetStyles(int length, char *styles); int GetEndStyled() { return endStyled; } + bool EnsureStyledTo(int pos); int SetLineState(int line, int state) { return cb.SetLineState(line, state); } int GetLineState(int line) { return cb.GetLineState(line); } @@ -217,6 +218,7 @@ public: virtual void NotifySavePoint(Document *doc, void *userData, bool atSavePoint) = 0; virtual void NotifyModified(Document *doc, DocModification mh, void *userData) = 0; virtual void NotifyDeleted(Document *doc, void *userData) = 0; + virtual void NotifyStyleNeeded(Document *doc, void *userData, int endPos) = 0; }; #endif |