diff options
| author | nyamatongwe <unknown> | 2009-04-25 00:06:03 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2009-04-25 00:06:03 +0000 | 
| commit | 0c6a27b3534d9e4ab594853afe0c280a35ef083e (patch) | |
| tree | 1be70a94514df048b99f49c2bd24044a25b9c926 /src | |
| parent | a395c4ec2f1638c5140870bb3b11d82b5609c69d (diff) | |
| download | scintilla-mirror-0c6a27b3534d9e4ab594853afe0c280a35ef083e.tar.gz | |
Moved box folding constants into deprecated category. They have been
documented as deprecated for 3 years.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Editor.cxx | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index ae2c16137..aa6f0d52e 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -3102,7 +3102,9 @@ void Editor::Paint(Surface *surfaceWindow, PRectangle rcArea) {  				ll->RestoreBracesHighlight(rangeLine, braces);  				bool expanded = cs.GetExpanded(lineDoc); +#ifdef INCLUDE_DEPRECATED_FEATURES  				if ((foldFlags & SC_FOLDFLAG_BOX) == 0) { +#endif  					// Paint the line above the fold  					if ((expanded && (foldFlags & SC_FOLDFLAG_LINEBEFORE_EXPANDED))  					        || @@ -3123,6 +3125,7 @@ void Editor::Paint(Surface *surfaceWindow, PRectangle rcArea) {  							surface->FillRectangle(rcFoldLine, vs.styles[STYLE_DEFAULT].fore.allocated);  						}  					} +#ifdef INCLUDE_DEPRECATED_FEATURES  				} else {  					int FoldLevelCurr = (pdoc->GetLevel(lineDoc) & SC_FOLDLEVELNUMBERMASK) - SC_FOLDLEVELBASE;  					int FoldLevelPrev = (pdoc->GetLevel(lineDoc - 1) & SC_FOLDLEVELNUMBERMASK) - SC_FOLDLEVELBASE; @@ -3158,6 +3161,7 @@ void Editor::Paint(Surface *surfaceWindow, PRectangle rcArea) {  						surface->FillRectangle(rcBoxLine, vs.styles[STYLE_DEFAULT].fore.allocated);  					}  				} +#endif  				// Draw the Caret  				if (lineDoc == lineCaret) {  | 
