-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRESearch.lua
66 lines (49 loc) · 1.66 KB
/
RESearch.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
local function RESearchExists ()
return Plugin.Exist("F250C12A-78E2-4ABC-A784-3FDD3156E415")
end
local function CallRS(...)
return Plugin.Call("F250C12A-78E2-4ABC-A784-3FDD3156E415", ...)
end
local function CallRSS(...)
return Plugin.SyncCall("F250C12A-78E2-4ABC-A784-3FDD3156E415", ...)
end
Macro {
description=""; area="Shell"; key="ShiftF7"; flags=""; condition=RESearchExists;
action=function() CallRS("Search") end;
}
Macro {
description=""; area="Shell"; key="CtrlShiftF7"; flags=""; condition=RESearchExists;
action=function() CallRS("Replace") end;
}
Macro {
description=""; area="Shell"; key="AltAdd"; flags=""; condition=RESearchExists;
action=function() CallRS("Select") end;
}
Macro {
description=""; area="Shell"; key="AltSubtract"; flags=""; condition=RESearchExists;
action=function() CallRS("Unselect") end;
}
Macro {
description=""; area="Shell"; key="AltMultiply"; flags=""; condition=RESearchExists;
action=function() CallRS("FlipSelection") end;
}
Macro {
description=""; area="Editor"; key="AltF7"; flags=""; condition=RESearchExists;
action=function() CallRS("Search") end;
}
Macro {
description=""; area="Editor"; key="CtrlAltF7"; flags=""; condition=RESearchExists;
action=function() CallRS("Replace") end;
}
Macro {
description=""; area="Editor"; key="ShiftAltF7"; flags=""; condition=RESearchExists;
action=function() CallRS("SRAgain") end;
}
Macro {
description=""; area="Viewer"; key="AltF7"; flags=""; condition=RESearchExists;
action=function() CallRS("Search") end;
}
Macro {
description=""; area="Viewer"; key="ShiftAltF7"; flags=""; condition=RESearchExists;
action=function() CallRS("SRAgain") end;
}