From 01cd695dc8d693c39500f24adf689d08d77d39da Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 16 Mar 2000 11:43:39 +0000 Subject: 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. --- src/Document.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Document.h') 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 -- cgit v1.2.3