From 3de2de75f4d65a528089c9e28037974b44632ab9 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 23 Feb 2003 02:00:53 +0000 Subject: Patch from Bruce Dodson for a variant on home and end keys for wrapped mode that go to the start/end of the current display line. A second hit goes to the start/end of the document line. --- include/Scintilla.iface | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'include/Scintilla.iface') diff --git a/include/Scintilla.iface b/include/Scintilla.iface index b16a729d1..984b4a3d8 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1209,6 +1209,19 @@ fun void LineEndDisplay=2347(,) # caret position. fun void LineEndDisplayExtend=2348(,) +# These are like their namesakes Home(Extend)?, LineEnd(Extend)?, VCHome(Extend)? +# except they behave differently when word-wrap is enabled: +# They go first to the start / end of the display line, like (Home|LineEnd)Display +# The difference is that, the cursor is already at the point, it goes on to the start +# or end of the document line, as appropriate for (Home|LineEnd|VCHome)Extend. + +fun void HomeWrap=2349(,) +fun void HomeWrapExtend=2450(,) +fun void LineEndWrap=2451(,) +fun void LineEndWrapExtend=2452(,) +fun void VCHomeWrap=2453(,) +fun void VCHomeWrapExtend=2454(,) + # Move the caret inside current view if it's not there already. fun void MoveCaretInsideView=2401(,) -- cgit v1.2.3