UNIXworkcode

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