1 Release Notes for XNEdit Version 1.6.0, Dec 2024
2
3
4 This file contains last minute notes to users about the release, which are not
5 included in the documentation or README files included with the distribution
6 kits. It also contains change information, for users who are interested in
7 what bugs have been fixed, and what features have been added in the current
8 version.
9
10
11 XNEdit 1.6.0 alternative Textfield Widget
12 -----------------------------------------
13
14 The alternative text field widget, introduced in version 1.2.1, is now enabled
15 by default. It can be disabled by adding -DDISABLE_XNE_TEXTFIELD to the CFLAGS.
16
17 If the font needs adjustments, it can be changed with this X resource:
18
19 *XmTextField.XftFont: Monospace:size=10
20
21
22 XNEdit 1.5.0 Experimental Multi-cursor Support
23 ----------------------------------------------
24
25 Additional cursors can be added with Ctrl+Btn1 or Ctrl+Super+Up/Down.
26 Inserting/deleting text and moving cursors works like single-cursor operations.
27
28 Multiple text selections is unsupported.
29
30 The multi-cursor feature is still experimental and can change in the future.
31
32
33 XNEdit 1.3.0 EditorConfig Support
34 ---------------------------------
35
36 XNEdit supports reading file settings from .editorconfig files
37 (See https://editorconfig.org/ for details).
38
39
40 New XNEdit 1.3.0 preferences
41 ----------------------------
42
43 A new nedit.rc setting for controlling the toolbar icon size is available:
44
45 nedit.iconSize: <string>
46
47 Possible values are:
48 small
49 medium
50 large
51
52 It is also possible to specify the size for individual buttons
53 (close, isrcFind, isrcClear):
54
55 nedit.iconSize: close=medium,isrcFind=large,isrcClear=large
56
57
58 New XNEdit 1.2.1 alternative Textfield Widget
59 ---------------------------------------------
60
61 An alternative text field widget with improved unicode support can be used in
62 the Search/Replace dialogs. This solves the folloing problems:
63
64 1. With some locales (non-UTF-8), only ASCII input works
65 2. Motif's XmTextField does not support fallback fonts with Xft text rendering,
66 which limits the variety of characters that could be displayed
67
68 To use the new alternative text field widget, add -DXNE_TEXTFIELD to the CFLAGS
69 variable in the platform specific Makefile.
70
71 The alternative widget uses 'XmTextField' as widget class, which means many
72 styling options (X resources) of Motif's XmTextField can be used. The font of
73 the new widget can be changed via the 'XftFont' resource. For example:
74
75 *XmTextField.XftFont: Monospace:size=10
76
77
78 New XNEdit 1.2 "Insert Unicode" menu entry
79 ------------------------------------------
80
81 The new "Insert Unicode" replaces the "Insert Ctrl Code" menu entry,
82 which wasn't fully functional in XNEdit.
83
84 The Insert Unicode dialog allows specifying an Unicode Codepoint in a variety
85 of formats:
86
87 Decimal number, for example: 122
88 Possible Hex formats (case insensitive):
89 U+007A
90 \U007A
91 U007A
92 0x7A
93
94
95 New XNEdit 1.1 preferences
96 --------------------------
97
98 XNEdit 1.1 introduces some new preferences, that can be set in the nedit.rc
99 file (~/.xnedit/nedit.rc). Currently there is no way to set these via GUI.
100
101 1. nedit.zoomStep: <int>
102
103 Configures how much the zoom-shortcuts Ctrl++ and Ctrl+- change the font size.
104 Default value is 1.
105
106 2. nedit.autoEnableXattr: <boolean>
107
108 If true, changing the encoding in the file save dialog to a non-unicode
109 encoding will activate the "Store encoding in extended attribute" automatically.
110 Default value is True.
111
112 3. nedit.fsbView: <int>
113
114 Configures the default view in the file dialog. Possible values are:
115 0: icon view
116 1: list view
117 2: detail view (feature disabled by default)
118 Default value is 1.
119
120 4. nedit.fsbShowHidden: <boolean>
121
122 Configures the default value of the "Show hidden files" togglebutton in the
123 file dialog. Default value is False.
124
125 5. nedit.windowDarkTheme: <boolean>
126
127 This feature is only available on Gnome 3 and similar desktops. If it is set
128 to true, the gtk theme variant of the window is set to "dark". This will only
129 affect the window decoration and not the content.
130
131
132 New feature: "New folder" button
133 --------------------------------
134
135 The file dialog has a new button for creating directories. By default,
136 the button has an icon and no label. To show the label and no icon, set the
137 following X resource:
138
139 nedit*newFolder.labelType: XmSTRING
140
141
142 Beta feature: detail file view
143 ------------------------------
144
145 Additionally to the icon view and list view, the file dialog supports a detail
146 view, which shows the size and modification date of each file. This feature is
147 disabled by default. To enable it, add -DFSB_ENABLE_DETAIL to the CFLAGS.
148
149
150 Known issues
151 ------------
152
153 With enabled Xft text rendering for Motif widgets, some user interface elements
154 can only display ASCII characters when using non-UTF8 locales.
155
156 The solution is to disable Xft text rendering. This can be done at compile-time
157 or by changing X resources. The text widget used for editing documents is not
158 affected.
159
160 1. Disable at compile-time
161
162 Add -DUSE_XFT=0 to your CFLAGS. This can be done in the platform-specific
163 Makefile (for example: makefiles/Makefile.linux on Linux).
164
165 This does only changes the default X resources.
166
167 2. Disable with X resources
168
169 Example X resources for using X bitmap fonts for UI elements:
170
171 nedit*FontList: \
172 -*-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso8859-1, \
173 -*-helvetica-bold-r-normal-*-14-*-*-*-*-*-iso8859-1=BOLD, \
174 -*-helvetica-medium-o-normal-*-14-*-*-*-*-*-iso8859-1=ITALIC
175 nedit*XmText.FontList: \
176 -*-courier-medium-r-normal-*-14-*-*-*-*-*-iso8859-1, \
177 -*-courier-bold-r-normal-*-14-*-*-*-*-*-iso8859-1=BOLD, \
178 -*-courier-medium-o-normal-*-14-*-*-*-*-*-iso8859-1=ITALIC
179 nedit*XmTextField.FontList: \
180 -*-courier-medium-r-normal-*-14-*-*-*-*-*-iso8859-1, \
181 -*-courier-bold-r-normal-*-14-*-*-*-*-*-iso8859-1=BOLD, \
182 -*-courier-medium-o-normal-*-14-*-*-*-*-*-iso8859-1=ITALIC
183 nedit*XmList.FontList: \
184 -*-courier-medium-r-normal-*-14-*-*-*-*-*-iso8859-1, \
185 -*-courier-bold-r-normal-*-14-*-*-*-*-*-iso8859-1=BOLD, \
186 -*-courier-medium-o-normal-*-14-*-*-*-*-*-iso8859-1=ITALIC
187 nedit*XmFileSelectionBox*XmList.FontList: \
188 -*-courier-medium-r-normal-*-14-*-*-*-*-*-iso8859-1, \
189 -*-courier-bold-r-normal-*-14-*-*-*-*-*-iso8859-1=BOLD, \
190 -*-courier-medium-o-normal-*-14-*-*-*-*-*-iso8859-1=ITALIC
191
192
193
194