diff options
Diffstat (limited to 'src/Document.h')
| -rw-r--r-- | src/Document.h | 8 | 
1 files changed, 7 insertions, 1 deletions
| diff --git a/src/Document.h b/src/Document.h index a1017810e..6e8507f04 100644 --- a/src/Document.h +++ b/src/Document.h @@ -244,13 +244,14 @@ private:  	std::vector<WatcherWithUserData> watchers;  	// ldSize is not real data - it is for dimensions and loops -	enum lineData { ldMarkers, ldLevels, ldState, ldMargin, ldAnnotation, ldSize }; +	enum lineData { ldMarkers, ldLevels, ldState, ldMargin, ldAnnotation, ldEOLAnnotation, ldSize };  	std::unique_ptr<PerLine> perLineData[ldSize];  	LineMarkers *Markers() const noexcept;  	LineLevels *Levels() const noexcept;  	LineState *States() const noexcept;  	LineAnnotation *Margins() const noexcept;  	LineAnnotation *Annotations() const noexcept; +	LineAnnotation *EOLAnnotations() const noexcept;  	bool matchesValid;  	std::unique_ptr<RegexSearchBase> regex; @@ -483,6 +484,11 @@ public:  	int AnnotationLines(Sci::Line line) const noexcept;  	void AnnotationClearAll(); +	StyledText EOLAnnotationStyledText(Sci::Line line) const noexcept; +	void EOLAnnotationSetStyle(Sci::Line line, int style); +	void EOLAnnotationSetText(Sci::Line line, const char *text); +	void EOLAnnotationClearAll(); +  	bool AddWatcher(DocWatcher *watcher, void *userData);  	bool RemoveWatcher(DocWatcher *watcher, void *userData); | 
