Remove search window
This commit is contained in:
@@ -225,7 +225,7 @@ function SkipLineAndColumn(s)
|
||||
return line, col, s
|
||||
end
|
||||
|
||||
local function SkipSlashes(s)
|
||||
function SkipSlashes(s)
|
||||
found_slash = false
|
||||
while s:sub(1,1) == '/' or s:sub(1,1) == '\\' do
|
||||
s = s:sub(2)
|
||||
@@ -234,7 +234,7 @@ local function SkipSlashes(s)
|
||||
return s, found_slash
|
||||
end
|
||||
|
||||
local function SkipDrive(s)
|
||||
function SkipDrive(s)
|
||||
local i, j = s:find("^%a:")
|
||||
if not i then return s, nil, true end
|
||||
|
||||
@@ -247,7 +247,7 @@ local function SkipDrive(s)
|
||||
return new_s, drive, true
|
||||
end
|
||||
|
||||
local function SkipPathCell(s)
|
||||
function SkipPathCell(s)
|
||||
local i, j = s:find("^[%w_%.-% +]+")
|
||||
if not i then return s, nil, false end
|
||||
|
||||
@@ -258,7 +258,7 @@ local function SkipPathCell(s)
|
||||
return new_s, word, found_slash
|
||||
end
|
||||
|
||||
local function SkipPath(s)
|
||||
function SkipPath(s)
|
||||
local input_s = s
|
||||
local s, drive, ok = SkipDrive(s)
|
||||
if not ok then return s end
|
||||
@@ -325,6 +325,9 @@ function ApplyRules(s)
|
||||
end
|
||||
|
||||
function OnUpdate()
|
||||
-- @todo: implement coroutine dispatch here
|
||||
-- probably also want constatnly rerunning jobs with a set wake up time
|
||||
-- @warning: make sure to not rewrite the thread list when rerunning this file
|
||||
end
|
||||
|
||||
)==";
|
||||
|
||||
Reference in New Issue
Block a user