//[c]Code Browser User Preferences //[c] //[c] Uncomment the properties you want to modify. //[c] //[of]:General //[c]General Properties //[c] //[c]MULTIPLE INSTANCES //[c] //[c] Unless true, when the editor starts, it first attempts to open files in an //[c] existing instance. This option can be bypassed with the command //[c] line switch '-i'. //[c] //allow-multiple-instances = false //[c] //[c]RELOAD MODE //[c] //[c] What to do when a file is externally modified //[c] - "never" ignore external change //[c] - "ask" ask before reloading //[c] - "always" reload change without asking unless the file is modified //[c] //reload-mode = ask //[c] //[c]COMMENT LINE //[c] //[c] If true, a newly created folder starts with a line of type //[c] comment instead of a text line. //[c] //comment-line = false //[c] //[c]KEY MAPPING //[c] //[c] Choose one defined in the 'Key Mappings' section //[c] //key-mapping = default //[c] //[c]DEFAULT SEARCH PARAMETERS //[c] //default-search-patterns = *.c;*.cpp;*.cxx;*.h;*.hpp //default-search-directory = //[c] //[c] //[cf] //[of]:Navigation //[c]LAYOUT //[c] //[c] The default layout for all configurations. //[c] Values for layout: //[c] 0 - one pane //[c] 1 - two horizontal panes //[c] 2 - two vertical panes //[c] 3 - browser, 3 panes //[c] 4 - browser, 4 panes //[c] 5 - browser, 5 panes //[c] 6 - vertical browser, 3 panes //[c] 7 - vertical browser, 4 panes //[c] 8 - vertical browser, 5 panes //[c] 9 - tree view //[c] 10 - page view //[c] //layout = 0 //[c] //[c]HORIZONTAL SCROLLBAR //[c] //[c] The virtual-width is the width of the text (the editor does not compute //[c] the width of the text). //[c] //use-horizontal-scrollbar = true //virtual-width = 2000 //[c] //[c]FISHEYE VIEW //[c] //[c] Makes the center page wider (page view). //[c] //fisheye-view = false //[c] //[c]SCROLL SPEED //[c] //[c] Changes the speed of the page scrolling (page view) //[c] 1 - fastest //[c] 20 - slowest //[c] //scroll-speed = 8 //[cf] //[of]:Display //[c]THEME //[c] //[c] The default and default-fixed display schemes uses the prototype defined //[c] by this variable. Change this value to affect all configurations in one shot. //[c] Values: //[c] system //[c] eclipse //[c] dark-purple //[c] pink //[c] blue //[c] //theme = blue //[c] //[c]TITLE //[c] //[c] Font attributes for the title of pages //[c] //title-font-face = %(%p.font-face) //title-font-size = 12 //title-font-style = bold //[c] //[c]NOTEBOOK TABS //[c] //[c] Can be 'top' or 'bottom' //[c] //notebook-tab-position = top //[c] //[c]WORKSPACE COLOR //[c] //[c] Background color use in "Page View" layout. //[c] By default, it uses the system workspace color (Windows). //[c] //workspace-color = #808080 //[cf] //[of]:Font and Colors //[c]Definitions depending on the platform //[c] //[c]These properties are accessible using %(%p.xxx) since %p is //[c]evaluated to 'win32' or 'x11' depending on your operating system. //[c]It allows platform independent settings between Windows and X11, //[c]the same preference file can be share between both systems. //[c] //[of]:win32 //[c]Properties for Windows //[c] def win32 //font-face = Tahoma //font-style = none //font-size = 10 //fixed-font-face = Courier //fixed-font-style = none //fixed-font-size = 10 //dark-font-face = Arial //dark-font-style = bold //dark-font-size = 8 //dark-fixed-font-face = Fixedsys //dark-fixed-font-style = none //dark-fixed-font-size = 8 //medium-color = %(system.medium-color) //fore-color = %(system.fore-color) //back-color = %(system.back-color) end //[cf] //[of]:x11 //[c]Properties for X11 //[c] //[c]X11 font faces follows the following syntax: //[c] name //[c] Old font subsystem, iso8859-1 encoding //[c] -name //[c] Old full name X11 fonts //[c] e.g. //[c] -*-helvetica-medium-r-*-*-*-120-*-*-*-*-iso8859-1 //[c] -*-*-medium-r-*-*-*-120-*-*-*-*-koi8-r //[c] !name //[c] Pango fonts //[c] e.g. //[c] !Luxi Sans //[c] !Bitstream Vera Sans //[c] Common xft fonts: //[c] Bitstream Vera Sans //[c] Bitstream Vera Serif //[c] Bitstream Vera Sans Mono //[c] Luxi Sans //[c] Luxi Serif //[c] Luxi Mono //[c] Monospace //[c] Courier //[c] Courier 10 Pitch //[c] Utopia //[c] Sans //[c] Serif //[c] def x11 //font-face = !Luxi //font-style = none //font-size = 10 //fixed-font-face = !Bitstream Vera Sans Mono //fixed-font-style = none //fixed-font-size = 10 //dark-font-face = !Luxi //dark-font-style = none //dark-font-size = 10 //dark-fixed-font-face = !Bitstream Vera Sans Mono //dark-fixed-font-style = none //dark-fixed-font-size = 10 //medium-color = #FFFFFF //fore-color = %(system.fore-color) //back-color = #E0E0EC end //[c] //[c] //[c]Settings before version 2.3 //[c]You may use these settings if the Pango fonts are too slow. //[c] //[c]def x11 //[c] font-face = helvetica //[c] font-style = none //[c] font-size = 12 //[c] //[c] fixed-font-face = fixed //[c] fixed-font-style = none //[c] fixed-font-size = 13 //[c] //[c] dark-font-face = helvetica //[c] dark-font-style = bold //[c] dark-font-size = 12 //[c] //[c] dark-fixed-font-face = fixed //[c] dark-fixed-font-style = none //[c] dark-fixed-font-size = 13 //[c] //[c] medium-color = #C0C0C0 //[c] fore-color = %(system.fore-color) //[c] back-color = #E0E0E0 //[c]end //[cf] //[cf] //[c] //[of]:Display Schemes //[c]Themes //[c] def display-schemes // Add your themes here. You can copy the ones defined in // the Global Preferences and adapt them. end //[cf] //[of]:Key Mappings //[c]Key Mappings //[c] def key-mappings //[c] //[of]: default //[c]The default key map //[c] def default //file-new = CTRL+N //file-open = CTRL+O //file-save = CTRL+S //file-save-as = //file-save-all = CTRL+SHIFT+S //file-files = //exit = CTRL+Q //edit-undo = CTRL+Z //edit-redo = CTRL+Y //edit-cut = CTRL+X //edit-copy = CTRL+C //edit-paste = CTRL+V //edit-delete = //edit-select-all = CTRL+A //edit-copy-reference = //edit-paste-raw-text = //find = CTRL+F //find-all = CTRL+H //find-next = F3 //find-previous = SHIFT+F3 //find-replace = CTRL+R //find-replace-all = CTRL+SHIFT+R //find-in-files = //find-replace-in-files = //goto-line = CTRL+G //goto-matching-bracket = //select-matching-bracket = //edit-upper = CTRL+SHIFT+U //edit-lower = CTRL+U //edit-unfold = CTRL+B //edit-properties = ALT+RETURN //word-wrap = CTRL+W //switch-zoom = ALT+END //view-one-pane = ALT+1 //view-horizontal-panes = ALT+2 //view-vertical-panes = ALT+3 //view-browser-3 = ALT+4 //view-browser-4 = ALT+5 //view-browser-5 = ALT+6 //view-vbrowser-3 = ALT+7 //view-vbrowser-4 = ALT+8 //view-vbrowser-5 = ALT+9 //view-tree = ALT+0 //go-tree = ALT+HOME //go-back = ALT+LEFT //go-enter = ALT+RIGHT //go-open-in-new-tab = CTRL+I //go-open-target-in-new-tab = CTRL+T //go-next = CTRL+SHIFT+DOWN //go-previous = CTRL+SHIFT+UP //go-page-1 = CTRL+NUMPAD 1 //go-page-2 = CTRL+NUMPAD 2 //go-page-3 = CTRL+NUMPAD 3 //go-page-4 = CTRL+NUMPAD 4 //go-page-5 = CTRL+NUMPAD 5 //go-page-6 = CTRL+NUMPAD 6 //go-page-7 = CTRL+NUMPAD 7 //go-page-8 = CTRL+NUMPAD 8 //go-page-9 = CTRL+NUMPAD 9 //insert-text = CTRL+SHIFT+T //insert-comment = CTRL+SHIFT+C //insert-folder = CTRL+SHIFT+F //insert-link = CTRL+SHIFT+L //tools-options = //tools-break = CTRL+BREAK //open-global-preferences = //open-user-preferences = //open-cmdline-preferences = //open-global-languages = //open-user-languages = //window-close = ESCAPE //window-clone = CTRL+K //window-next = //window-previous = //window-windows = end //[cf] //[c] end //[cf] //[of]:Configurations //[c]A configuration determines which edit scheme, display scheme and language //[c]to use with a file extension. //[c] //[c]Each element defined in configuration has the following attributes: //[c]* patterns: the list of extension separated by a ';'. If this attribute is //[c] missing, and there is no 'first.line.patterns' attribute, this configuration //[c] is used as the default one. //[c]* first-line-patterns: the list of matching first lines separated by a ';'. //[c] Wildcards '*' are accepted. //[c]* language: the language used to structure and colorize the text //[c]* display: the display scheme (defines colors and fonts) //[c]* layout: if specified, override the property define in the general section //[c]* tree-view: if specified, override the property define in the general section //[c]* relative-indentation: if true, each folder will be indented with the //[c] indentation of its headline. //[c] Remark: this option has no effect on a file already opened, you //[c] must exit and restart. //[c] Warning: use this option carefully, once a file is saved with relative //[c] indentation, it cannot be undone easily. //[c] def configurations //[c] //[of]: Default //[c]This configuration is used when no other one is applicable. //[c]It is also the parent of all configurations: all configurations //[c]inherits these properties. //[c] def default //language = text //display = default-fixed //auto-indentation = true //expand-tabulation = false //tabulation-size = 8 //word-wrap = false //layout = 0 end //[cf] //[of]: Text //[c]Plain text files with folding capability (using # as prefix) //[c] def text //prototype = configurations.default //patterns = *.txt //language = code-browser-info //display = default-fixed //auto-indentation = true //expand-tabulation = false //tabulation-size = 8 //word-wrap = false //layout = 0 end //[cf] //[c] //[of]: Assembler x86 def x86 //prototype = configurations.default //patterns = *.asm;*.inc //language = x86 //display = default-fixed //auto-indentation = true //expand-tabulation = false //tabulation-size = 8 //word-wrap = false //layout = 0 end //[cf] //[of]: Batch def batch //prototype = configurations.default //patterns = *.bat;*.btm //language = batch //display = default-fixed //auto-indentation = true //expand-tabulation = false //tabulation-size = 8 //word-wrap = false //layout = 0 end //[cf] //[of]: C/C++ def cpp //prototype = configurations.default //patterns = *.c;*.h;*.cpp;*.hpp;*.cxx;*.hxx;*.cc;*.hh //language = CPP //display = default-fixed //auto-indentation = true //expand-tabulation = true //tabulation-size = 2 //word-wrap = false //layout = 0 end //[cf] //[of]: C# def csharp //prototype = configurations.default //patterns = *.cs //language = CSharp //display = default-fixed //auto-indentation = true //expand-tabulation = false //tabulation-size = 4 //word-wrap = false //layout = 0 end //[cf] //[of]: CSS def css //prototype = configurations.default //patterns = *.css //language = css //display = default //auto-indentation = true //expand-tabulation = false //tabulation-size = 8 //word-wrap = false //layout = 0 end //[cf] //[of]: HTML def html //prototype = configurations.default //patterns = *.html;*.htm //language = html //display = default //auto-indentation = true //expand-tabulation = false //tabulation-size = 8 //word-wrap = false //layout = 0 end //[cf] //[of]: Java def java //prototype = configurations.default //patterns = *.java;*.jav //language = java //display = default-fixed //auto-indentation = true //expand-tabulation = false //tabulation-size = 4 //word-wrap = false //layout = 0 end //[cf] //[of]: Javascript def javascript //prototype = configurations.default //patterns = *.js //language = javascript //display = default-fixed //auto-indentation = true //expand-tabulation = false //tabulation-size = 4 //word-wrap = false //layout = 0 end //[cf] //[of]: Pascal def pascal //prototype = configurations.default //patterns = *.pas //language = pascal //display = default-fixed //auto-indentation = true //expand-tabulation = false //tabulation-size = 4 //word-wrap = false //layout = 0 end //[cf] //[of]: Perl def perl //prototype = configurations.default //patterns = *.pl;*.PL;*.pm;*.pod //first-line-patterns = #!*/perl* //language = perl //display = default //auto-indentation = true //expand-tabulation = false //tabulation-size = 4 //word-wrap = false //layout = 0 end //[cf] //[of]: Python def python //prototype = configurations.default //patterns = *.py //language = python //display = default //relative-indentation = true //auto-indentation = true //expand-tabulation = false //tabulation-size = 4 //word-wrap = false //layout = 0 end //[cf] //[of]: Ruby def ruby //prototype = configurations.default //patterns = *.rb //first-line-patterns = #!*/ruby* //language = ruby //display = default //auto-indentation = true //expand-tabulation = false //tabulation-size = 4 //word-wrap = false //layout = 0 end //[cf] //[of]: XML def xml //prototype = configurations.default //patterns = *.xml;*.xsl;*.xsd //language = xml //display = default //relative-indentation = true //auto-indentation = true //expand-tabulation = false //tabulation-size = 4 //word-wrap = false //layout = 9 end //[cf] //[of]: Makefile def makefile //prototype = configurations.default //patterns = makefile;Makefile;Makefile.in;Makefile.am;*.mak;*.mk //language = makefile //display = default //auto-indentation = true //expand-tabulation = false //tabulation-size = 8 //word-wrap = false //layout = 0 end //[cf] //[of]: Sh def sh //prototype = configurations.default //patterns = csh.cshrc;csh.login;bashrc;zlogin;zlogout;zprofile;zshenv;zshrc //first-line-patterns = #!*/sh;#!*/bash //language = sh //display = default //display = default-fixed //auto-indentation = true //expand-tabulation = false //tabulation-size = 8 //word-wrap = false //layout = 0 end //[cf] //[of]: Sql def sql //prototype = configurations.default //patterns = *.sql //language = sql //display = default //auto-indentation = true //expand-tabulation = false //tabulation-size = 8 //word-wrap = false //layout = 0 end //[cf] //[of]: TeX def tex //prototype = configurations.default //patterns = *.tex;*.sty // Choose the right one... //language = tex language = latex //language = plaintex //display = default //auto-indentation = true //expand-tabulation = false //tabulation-size = 8 //word-wrap = true //layout = 0 end //[cf] //[of]: Visual Basic def vb //prototype = configurations.default //patterns = *.vb;*.bas //language = vb //display = default //auto-indentation = true //expand-tabulation = false //tabulation-size = 8 //word-wrap = false //layout = 0 end //[cf] //[c] //[of]: asp def asp //prototype = configurations.default //patterns = *.asp;*.aspx //language = asp //display = default //auto-indentation = true //expand-tabulation = false //tabulation-size = 8 //word-wrap = false //layout = 0 end //[cf] //[of]: jsp def jsp //prototype = configurations.default //patterns = *.jsp //language = jsp //display = default //auto-indentation = true //expand-tabulation = false //tabulation-size = 4 //word-wrap = false //layout = 0 end //[cf] //[of]: php def php //prototype = configurations.default //patterns = *.php //language = php //display = default //auto-indentation = true //expand-tabulation = false //tabulation-size = 4 //word-wrap = false //layout = 0 end //[cf] //[c] //[of]: Others //[c] //[of]: CMake //[c] def CMake //prototype = configurations.default //patterns = *.cmake;CMakeLists.txt //language = cmake //display = default //auto-indentation = true //expand-tabulation = true //tabulation-size = 2 //word-wrap = false //layout = 0 //tree-view = false end //[cf] //[of]: NSIS Script Files def nsi //prototype = configurations.default //patterns = *.nsi;*.nsh //language = nsi //edit = space2 //display = default //auto-indentation = true //expand-tabulation = true //tabulation-size = 2 //word-wrap = false //layout = 0 end //[cf] //[of]: Visual Studio Project Files def vcproj //prototype = configurations.default //patterns = *.vcproj //language = vcproj //display = default //auto-indentation = true //expand-tabulation = true //tabulation-size = 2 //word-wrap = false //layout = 0 end //[cf] //[c] //[of]: Zinc def zinc //prototype = configurations.default //patterns = *.zc //language = zinc //display = default //auto-indentation = true //expand-tabulation = false //tabulation-size = 4 //word-wrap = false //layout = 0 end //[cf] //[of]: Code Browser Config //[c] //[c] Configuration for code browser configurations files //[c] def cb-config //prototype = configurations.default //patterns = *.cbp;*.cb-config //language = code-browser-config //display = default //auto-indentation = true //expand-tabulation = false //tabulation-size = 4 //word-wrap = false //layout = 9 end //[cf] //[of]: Code Browser Info //[c] //[c] Configuration for basic structured text files //[c] def cb-info //prototype = configurations.default //patterns = *.cbi //language = code-browser-info //display = default //auto-indentation = true //expand-tabulation = false //tabulation-size = 4 //word-wrap = false //layout = 0 end //[cf] //[cf] //[c] end //[cf] //[of]:User Tools //[c]User Tools //[c] //[of]: Documentation //[c]The tools section contains a list of user tools. Each tool is defined as follow: //[c] //[c]def //[c] caption = //[c] command = //[c] arguments = //[c] directory = //[c] save-all = (true|false) //[c] show-window = (true|false) //[c] language = //[c] layout = 0-8 //[c] tree-view = (true|false) //[c] hot-key = key //[c] auto-close = (true|false) //[c] edit-arguments = (true|false) //[c]end //[c] //[c]The name identifies the tool but it is not used except when merging //[c]preferences. //[c] //[c]ATTRIBUTES //[c] //[c] caption //[c] This text will be displayed in the 'Tools' menu and in the title of //[c] the output window. //[c] //[c] command //[c] The full name of the command to execute. Blanks are accepted, //[c] no need to use quotes. //[c] //[c] arguments //[c] The arguments to pass to the command. This attibute accepts special //[c] variables that will be substitute when launching the command. The syntax //[c] is $(variablename) where 'variablename' must be one of: //[c] - FilePath: the full name of the current file //[c] - FileDir: the directory of the current file //[c] - FileName: the filename without directory and without extension //[c] - FileNameExt: the filename with extension but without directory //[c] - CurText: the current selection or the word under the caret. //[c] This value will be empty if the selection contains new lines. //[c] //[c] directory //[c] The initial directory. //[c] //[c] save-all //[c] If true, all file are saved before launching the command. //[c] //[c] show-window //[c] Set this attribute to true for graphical tools, set it to false to the //[c] other to prevent the opening of a console. //[c] //[c] language //[c] If this value is set, the output is parsed using the specified //[c] language definition. So it is possible to have tools that generate //[c] structured output (including sub-folders and links). In such a case, //[c] the entire output is buffered until the process terminates. //[c] //[c] The output does not have a filename, so links must have a full name //[c] to locate target files. //[c] //[c] layout //[c] The layout to use with the output window when launching this tool. //[c] By default, two panes tiled vertically are opened. //[c] //[c] tree-view //[c] Switch to show or hide the tree view with the output window. //[c] //[c] hot-key //[c] An optional key to launch quickly the tool. The syntax is: //[c] [CTRL+][ALT+][SHIFT+] keyname //[c] //[c] auto-close //[c] If true, the output window will be closed if the tool terminates //[c] without error (i.e. exit code = 0) and does not report any link. //[c] //[c] edit-arguments //[c] If true, the you will be prompted for arguments. //[cf] //[c] def tools //def sampletool // caption = Run gcc // command = gcc // arguments = -c $(FilePath) -o $(FileDir)/$(FileName).o // save-all = true // show-window = false // hot-key = CTRL+F7 //end end //[cf]