diff options
| author | Neil <nyamatongwe@gmail.com> | 2014-08-08 10:01:55 +1000 | 
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2014-08-08 10:01:55 +1000 | 
| commit | a2940fd23daf6f8d82c9c821de5c40077ce0da84 (patch) | |
| tree | c90f4a2d63322446821db40a6df3a0106b751035 /src/EditView.h | |
| parent | 0f69f3794f88db0630d7264c26c557558ed44b60 (diff) | |
| download | scintilla-mirror-a2940fd23daf6f8d82c9c821de5c40077ce0da84.tar.gz | |
Implement explicit tab stops per line.
From Nick Gravgaard.
Diffstat (limited to 'src/EditView.h')
| -rw-r--r-- | src/EditView.h | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/src/EditView.h b/src/EditView.h index 7d64aff90..18451104f 100644 --- a/src/EditView.h +++ b/src/EditView.h @@ -48,6 +48,7 @@ void DrawStyledText(Surface *surface, const ViewStyle &vs, int styleOffset, PRec  class EditView {  public:  	PrintParameters printParameters; +	PerLine *ldTabstops;  	bool hideSelection;  	bool drawOverstrikeCaret; @@ -78,11 +79,19 @@ public:  	PositionCache posCache;  	EditView(); +	virtual ~EditView();  	bool SetTwoPhaseDraw(bool twoPhaseDraw);  	bool SetPhasesDraw(int phases);  	bool LinesOverlap() const; +	void ClearAllTabstops(); +	int NextTabstopPos(int line, int x, int tabWidth) const; +	bool ClearTabstops(int line); +	bool AddTabstop(int line, int x); +	int GetNextTabstop(int line, int x) const; +	void LinesAddedOrRemoved(int lineOfPos, int linesAdded); +  	void DropGraphics(bool freeObjects);  	void AllocateGraphics(const ViewStyle &vsDraw);  	void RefreshPixMaps(Surface *surfaceWindow, WindowID wid, const ViewStyle &vsDraw); | 
