aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/find.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2011-06-16 17:23:55 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2011-06-16 17:23:55 -0400
commit3d56741b1ef1ea2790607a5575f771d43aae4308 (patch)
treeaf4da86dec710546924e7ea7b893591989e785d0 /modules/textadept/find.lua
parent9a61370b7d739b51228395b304915b2c4cc2e077 (diff)
downloadtextadept-3d56741b1ef1ea2790607a5575f771d43aae4308.tar.gz
textadept-3d56741b1ef1ea2790607a5575f771d43aae4308.zip
Use functions for generating unique IDs for markers, indicators, and user lists.
Diffstat (limited to 'modules/textadept/find.lua')
-rw-r--r--modules/textadept/find.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/find.lua b/modules/textadept/find.lua
index dcb570ba..f770e2dd 100644
--- a/modules/textadept/find.lua
+++ b/modules/textadept/find.lua
@@ -5,7 +5,7 @@ local events = _G.events
local find = gui.find
local c = _SCINTILLA.constants
-local MARK_FIND = 0
+local MARK_FIND = _SCINTILLA.next_marker_number()
local MARK_FIND_COLOR = 0x4D9999
local previous_view