Configuration -- Cobasoft Note
Default Configuration
<?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="Zoom" value="1.1" /> <add key="RecentFiles" value="063901327975Z:\csnote.rtf" /> <add key="Foreground" value="
 &Red#FF0000;
 &Orange#FFB240;
 Tea&l#008080;
 Bl&ack#000000;
 &Blue#004DBB;
 &Purple#4B0082;
 Gr&een#006400;
 Bro&wn#954A00;
 Pi&nk#FF7F7F;
 &Gray#808080;
 " /> <add key="Background" value="
 &Yellow#FFFF00;
 G&reen#98FF98;
 Cya&n#E0FFFF;
 &Lavender#B57EDC;
 &Peach#FFDAB9;
 &Ivory#D9B87C;
 &Turquoise#AFEEEE;
 Pin&k#FFB6C1;
 P&urple#BF40BF;
 &Gray#8A8A8A;
 " /> <add key="Browser" value="firefox.exe,-private-window {url}" /> <add key="HistoryFind" value="063901300818nummeric" /> <add key="HistoryReplace" value="" /> </appSettings> </configuration>
The default configuration is integrated into CsNote and cannot be modified.
For every user which starts CsNote,
a copy of the default configuration is created in the folder
C:\Users\{USERNAME}\AppData\Roaming\Cobasoft\
The filename always is "CsNote.config".
This file can be edited,
for example for defining custom colors
or browser settings.
Configuration Settings
Configuration Documentation
-
Zoom
Controls the default zoom level (e.g., 1.1). -
RecentFiles
Holds the recent-file information (empty by default).
For all recent files, the following information is stored:
Name, Zoom, Line, Position, Anchors
But this is not meant to be edited by hand. -
Foreground & Background
Each value defines the 10 configurable colors for foreground and background, respectively.
Example: "&Red#FF0000;"
The text before the pound sign (#) is the name of the color. This is shown in the color menu. The "&" is the XML representation of an ampersand. The following character will become the shortcut for this menu entry. So "&Red#FF0000;" will have R as shortcut and will be presented as "Red" in the menu. -
Browser
The editor automatically recognizes URLs.
For "file://" URLs, the link is directly opened.
For all others, it checks the "Browser" configuration key. If it does not exist, the link also is directly opened. Otherwise, it starts the configured application, like "firefox.exe", with the optional argument. Within the argument string, the text "{url}" is replaced by the link.
Always be very careful before opening links!If you're using any of the following common browsers, you can use the following settings to start them in private mode:
-
// Microsoft Edge
<add key="Browser"
value="msedge.exe,--inprivate {url}"/> -
// Google Chrome
<add key="Browser"
value="chrome.exe,--incognito {url}"/> -
// Mozilla Firefox
<add key="Browser"
value="firefox.exe,-private-window {url}"/>
This feature is especially helpful, when you don't want to use the default browser or want to specify arguments.
If you just want to use the default, you can delete this key from the configuration. -
// Microsoft Edge