Showing posts with label AkelPad. Show all posts
Showing posts with label AkelPad. Show all posts

27 October 2015

AkelPad: text navigation by paragraph using ctrl+down

It's easy: just use the Hotkeys plugin!


Name: Find next paragraph
Command:
Call("Scripts::Main", 7, `AkelPad.TextFind(0, "\A[ \t]*\n\K(?=[ \t]*\S)|(?<=\n)[ \t]*\n\K(?=[ \t]*\S)", 0x00080001 /*FRF_DOWN|FRF_REGEXP*/)`)
Hotkey: Ctrl + Down


Name: Find previous paragraph
Command:
Call("Scripts::Main", 7, `AkelPad.TextFind(0, "(?<=\n)[ \t]*\n\K(?=[ \t]*\S)|\A[ \t]*\n\K(?=[ \t]*\S)|\A(?=[ \t]*\S)", 0x00180000 /*FRF_UP|FRF_REGEXP*/)`)
Hotkey: Ctrl + Up


Via.