diff options
author | nyamatongwe <devnull@localhost> | 2009-04-01 01:54:21 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2009-04-01 01:54:21 +0000 |
commit | 803e7ff02753ff859e44b78ba1368aa4e1c07af9 (patch) | |
tree | 7ee5153591f173fb56c030d21dbc4601753d974a /src/Editor.cxx | |
parent | fd0b09668969d458642e1b7d9dbf447cfae6bc92 (diff) | |
download | scintilla-mirror-803e7ff02753ff859e44b78ba1368aa4e1c07af9.tar.gz |
Added commands to add extra ascent and descent space.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index c4c3a8179..0a619d9a6 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -7610,6 +7610,22 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { case SCI_GETCHARACTERPOINTER: return reinterpret_cast<sptr_t>(pdoc->BufferPointer()); + case SCI_SETEXTRAASCENT: + vs.extraAscent = wParam; + InvalidateStyleRedraw(); + break; + + case SCI_GETEXTRAASCENT: + return vs.extraAscent; + + case SCI_SETEXTRADESCENT: + vs.extraDescent = wParam; + InvalidateStyleRedraw(); + break; + + case SCI_GETEXTRADESCENT: + return vs.extraDescent; + default: return DefWndProc(iMessage, wParam, lParam); } |