From e098d9e7420a8deec3db17df31d9d7bb4dbcf22b Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 28 Sep 2003 22:06:23 +0000 Subject: Hotspot improvements from Simon, including setting to limit hotspots to a single line. --- include/Scintilla.h | 1 + include/Scintilla.iface | 3 +++ 2 files changed, 4 insertions(+) (limited to 'include') diff --git a/include/Scintilla.h b/include/Scintilla.h index 85d592c9d..d1ec2fb53 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -534,6 +534,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_SETHOTSPOTACTIVEFORE 2410 #define SCI_SETHOTSPOTACTIVEBACK 2411 #define SCI_SETHOTSPOTACTIVEUNDERLINE 2412 +#define SCI_SETHOTSPOTSINGLELINE 2421 #define SCI_PARADOWN 2413 #define SCI_PARADOWNEXTEND 2414 #define SCI_PARAUP 2415 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index e2424b78f..38c979d13 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1440,6 +1440,9 @@ set void SetHotspotActiveBack=2411(bool useSetting, colour back) # Enable / Disable underlining active hotspots. set void SetHotspotActiveUnderline=2412(bool underline,) +# Limit hotspots to single line so hotspots on two lines don't merge. +set void SetHotspotSingleLine=2421(bool singleLine,) + # Move caret between paragraphs (delimited by empty lines) fun void ParaDown=2413(,) fun void ParaDownExtend=2414(,) -- cgit v1.2.3