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="&#xD;&#xA;
			&amp;Red#FF0000;&#xD;&#xA;
			&amp;Orange#FFB240;&#xD;&#xA;
			Tea&amp;l#008080;&#xD;&#xA;
			Bl&amp;ack#000000;&#xD;&#xA;
			&amp;Blue#004DBB;&#xD;&#xA;
			&amp;Purple#4B0082;&#xD;&#xA;
			Gr&amp;een#006400;&#xD;&#xA;
			Bro&amp;wn#954A00;&#xD;&#xA;
			Pi&amp;nk#FF7F7F;&#xD;&#xA;
			&amp;Gray#808080;&#xD;&#xA;
		" />
		<add key="Background" value="&#xD;&#xA;
			&amp;Yellow#FFFF00;&#xD;&#xA;
			G&amp;reen#98FF98;&#xD;&#xA;
			Cya&amp;n#E0FFFF;&#xD;&#xA;
			&amp;Lavender#B57EDC;&#xD;&#xA;
			&amp;Peach#FFDAB9;&#xD;&#xA;
			&amp;Ivory#D9B87C;&#xD;&#xA;
			&amp;Turquoise#AFEEEE;&#xD;&#xA;
			Pin&amp;k#FFB6C1;&#xD;&#xA;
			P&amp;urple#BF40BF;&#xD;&#xA;
			&amp;Gray#8A8A8A;&#xD;&#xA;
		" />
		<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: "&amp;Red#FF0000;"
    The text before the pound sign (#) is the name of the color. This is shown in the color menu. The "&amp;" is the XML representation of an ampersand. The following character will become the shortcut for this menu entry. So "&amp;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.