Files
OpenRA/zbstudio/config.lua
Mika Attila 9e6ec10be9 Make code folding optional
Some users might consider code folding a needless distraction.
Several editors offer the option to turn code folding off.

This commit adds the editor.fold option, which is a boolean.
true enables code folding (default)
false disables code folding
2013-06-22 12:02:31 +02:00

50 lines
1.3 KiB
Lua

editor.caretline = true
editor.showfncall = true
editor.autotabs = false
editor.usetabs = false
editor.tabwidth = 2
editor.usewrap = true
editor.calltipdelay = 500
editor.smartindent = true
editor.fold = true
local G = ... -- this now points to the global environment
if G.ide.osname == 'Macintosh' then
local defaultsize = 11
filetree.fontsize = defaultsize
funclist.fontsize = defaultsize
if G.ide.wxver >= "2.9.5" then
editor.fontsize = defaultsize
editor.fontname = "Monaco"
outputshell.fontsize = editor.fontsize
outputshell.fontname = editor.fontname
end
else
-- set Courier New in all other cases (Linux and Windows), otherwise
-- a proportional font gets used by default, which doesn't look right.
editor.fontname = "Courier New"
outputshell.fontname = editor.fontname
end
filehistorylength = 20
singleinstance = true
singleinstanceport = 0xe493
acandtip.shorttip = true
acandtip.nodynwords = true
activateoutput = true
projectautoopen = true
autorecoverinactivity = 10
allowinteractivescript = true -- allow interaction in the output window
interpreter = "luadeb"
unhidewindow = { -- allow unhiding of GUI windows
-- 1 - show if hidden, 0 - ignore, 2 -- hide if shown
ConsoleWindowClass = 0,
IME = 0,
['MSCTFIME UI'] = 0,
GLUT = 1, -- opengl applications (for example, moai)
}