| 1 |
Release Notes for NEdit Version 5.7, January 2017 |
| 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 |
If you are upgrading NEdit from a version prior to 5.0, please see the notes in |
| 11 |
the README file which came with the (source or executable) distribution kit, |
| 12 |
about updating macros and font settings in your .nedit file. |
| 13 |
|
| 14 |
New Features in 5.6 |
| 15 |
|
| 16 |
- The macro variable $VERSION returns NEdit's version number. |
| 17 |
|
| 18 |
- The new macro function filename_dialog() can be used to query a file |
| 19 |
name from the user by using the usual file selection dialog. |
| 20 |
|
| 21 |
- The value of $em_tab_dist has changed when the emulation is turned off. |
| 22 |
It is now 0, which was anyway a value for 'turned off'. (See SF bug |
| 23 |
#1560892 and #3290514) |
| 24 |
|
| 25 |
- The Python syntax highlighting patterns have been updated to Python 2.6. |
| 26 |
|
| 27 |
|
| 28 |
Bugs fixed in 5.6 |
| 29 |
|
| 30 |
- Fix raising of windows from within nedit (e.g. when opening an already |
| 31 |
opened document with nc). Patch is SF patch #2337783. |
| 32 |
|
| 33 |
- Fix for SF bug #2858723: off-by-one error causing a crash |
| 34 |
|
| 35 |
- Fix for SF bug #2687525: tipsfile parser error wrt to eof |
| 36 |
|
| 37 |
- Fix for SF bug #2222159: File was not reload when type was changed |
| 38 |
externaly |
| 39 |
|
| 40 |
- Fix for SF bug #2149312: parse error with zero menu entries. |
| 41 |
|
| 42 |
- Fix raising of windows from within nedit (e.g. when opening an already |
| 43 |
opened document with nc). Patch is SF patch #2337783. |
| 44 |
|
| 45 |
- Fix for SF bug #2858723: off-by-one error causing a crash |
| 46 |
|
| 47 |
- Fix for SF bug #2687525: tipsfile parser error wrt to eof |
| 48 |
|
| 49 |
- Fix for SF bug #2222159: File was not reload when type was changed |
| 50 |
externaly |
| 51 |
|
| 52 |
- Fix for SF bug #2149312: parse error with zero menu entries. |
| 53 |
|
| 54 |
- Force a terminating \n on macro file load time, to prevent syntax errors |
| 55 |
with statements on the last line. (util/fileUtils.c:ReadMacroFile()) |
| 56 |
(SF bug #2038921) |
| 57 |
|
| 58 |
- Fix multiple memory leaks in interpret.c:PromoteToGlobal() |
| 59 |
(SF bug #1894726) |
| 60 |
|
| 61 |
- Fix for SF bug #1908890: window title not updated. |
| 62 |
|
| 63 |
- Fix for SF bug #1730611: $match_syntax_based is not set. |
| 64 |
|
| 65 |
- Crash on window close when a "File modified externally" dialog was up |
| 66 |
(SF bug #1578869). |
| 67 |
|
| 68 |
- Crashes and artifacts when using ARGB visuals (SF bugs #1579544, |
| 69 |
#1030467, #1030192, and #1458006). |
| 70 |
|
| 71 |
- The text insertion cursor does no longer blink while typing |
| 72 |
(SF bug #906878). |
| 73 |
|
| 74 |
- The status bar reflects a changed keybinding in the shell command banner. |
| 75 |
|
| 76 |
- There is now a pattern for highlighting nested command substitution in |
| 77 |
shell scripts (SF patch #1010742). |
| 78 |
|
| 79 |
- Duplicate display bugs SF#464967 and SF#1041077 are fixed. |
| 80 |
|
| 81 |
- A typo in Ada's syntax highlighting patterns is fixed (SF bug #858874). |
| 82 |
|
| 83 |
- The shell used to run programs from the shell_command() macro function |
| 84 |
and from the Shell menu is now part of NEdit's normal settings, and no |
| 85 |
longer in the X server's settings. It also defaults to the user's login |
| 86 |
shell, not /bin/csh. This fixes SF#403738 and SF#880607. |
| 87 |
|
| 88 |
- File history is now consistent across multiple sessions (SF bug #557032). |
| 89 |
|
| 90 |
- If a macro file contains function definitions mixed with code segments |
| 91 |
the code segments were excuted in the wrong order in certain cases. This |
| 92 |
is fixed (SF bug #622291). |
| 93 |
|
| 94 |
- The current file name is (again) displayed in the Save As dialog text |
| 95 |
field. (SF bug #1451337) |
| 96 |
|
| 97 |
- A crash caused by highlighting patterns with complex regular expressions |
| 98 |
has been fixed. (SF bug #1536002) |
| 99 |
|
| 100 |
- Crashes when the maximum number of patterns in a hightlighting pattern |
| 101 |
set was exceeded, have been fixed. (SF bug #1536451) |
| 102 |
|
| 103 |
- Files are now optionally opened without format changes (SF bug #1003241). |
| 104 |
|
| 105 |
- Replace operation where the result exceeded a fixed length silently |
| 106 |
clipped the result. The limit has been increased and the behaviour on |
| 107 |
failure is now configurable. (SF bug #1015499) |
| 108 |
|
| 109 |
- NEdit can now optionally detect and avoid symlinks (SF bug #1027788). |
| 110 |
|
| 111 |
- A minor visual glitch has been fixed (SF bug #1055649). |
| 112 |
|
| 113 |
- NEdit asks the user with a dialog if it detects that a document's file |
| 114 |
is no longer accessible on disk. This dialog is changed to better match |
| 115 |
expected usage pattern (SF bug #1066144). |
| 116 |
|
| 117 |
- Various documentation bugs are fixed (SF bugs #1066765, #1078397, #1110024, |
| 118 |
#1471868) |
| 119 |
|
| 120 |
- Some minor usability bugs have been fixed (SF bugs #1371896, #1508608, |
| 121 |
#1515134, #1066692). |
| 122 |
|
| 123 |
- New highlighting pattern are now used immediately (SF bug #1117848). |
| 124 |
|
| 125 |
- Changes in case no longer modifiy the text if no change is actually |
| 126 |
performed (SF bug #1333103). |
| 127 |
|
| 128 |
- Some Linux distros ship with XKEYSYMDB set to a bogus filename which |
| 129 |
breaks all Motif applications. NEdit ignores that, and let X fall back |
| 130 |
on the default which is far more likely to work (SF bug #1564907). |
| 131 |
|
| 132 |
- Fixed a problem in the macro language on 64-bit systems (SF bug #1625283). |
| 133 |
|
| 134 |
- Long macro function names could cause a buffer overflow (SF bug #1640304). |
| 135 |
|
| 136 |
- The built-in macro "Make C prototypes" choked on some comments (SF bug |
| 137 |
#1574071). |
| 138 |
|
| 139 |
- Fixed a small bug while inserting special characters (SF bug #682004). |
| 140 |
|
| 141 |
- Fixed a translation bug which crashed NEdit on pressing osfInsert in the |
| 142 |
help window (SF bug #1772468). |
| 143 |
|
| 144 |
- Fixed bad exception handling of default macros (SF bug #1731384). |
| 145 |
|
| 146 |
|
| 147 |
New features in 5.5 |
| 148 |
|
| 149 |
- The most important new feature is the introduction of window tabs |
| 150 |
(SF patches #569287 and #893177). |
| 151 |
|
| 152 |
- More efficient string search operations for the macro language. |
| 153 |
|
| 154 |
- Auto-scrolling is now (partly) configurable through the preference menu. |
| 155 |
|
| 156 |
- Find and Clear buttons for i-search bar (SF patch #891884). |
| 157 |
|
| 158 |
- Faster user-defined menu creation (SF patch #891126). |
| 159 |
|
| 160 |
- Open documents on current desktop (SF patch #963120) |
| 161 |
|
| 162 |
- Superuser receives a warning when trying to overwrite a read-only file. |
| 163 |
|
| 164 |
- Simplified global font resources. |
| 165 |
|
| 166 |
- Macro language: added new $args[] array and removed 9 arguments limit |
| 167 |
for macros |
| 168 |
|
| 169 |
- Improved Latex & Python syntax highlighting patterns |
| 170 |
|
| 171 |
Bugs fixed in 5.5 |
| 172 |
|
| 173 |
- If underscore (_) is among the word delimiters for a language mode then |
| 174 |
word boundary regexes will work as expected. (SF bug #1008656) |
| 175 |
|
| 176 |
- Problem with writing history file on VMS (SF bug #933146). |
| 177 |
|
| 178 |
- Race condition fix for running NEdit in -sync mode (SF bug #978104). |
| 179 |
|
| 180 |
- Removed obsolete special window title treatment on SGI (SF bug #779454). |
| 181 |
|
| 182 |
- Forbid the deletion of the "Plain" Text Drawing Style (SF patch #970491). |
| 183 |
|
| 184 |
- File descriptor handling fix that allows shell commands to be invoked |
| 185 |
asynchronously. |
| 186 |
|
| 187 |
- Crash on Solaris when dragging a calltip (SF bug #925951). |
| 188 |
|
| 189 |
- Preference resource name mistakes (SF bug #884862). |
| 190 |
|
| 191 |
- Don't delete incremental backup files when incremental backups are off |
| 192 |
(SF bug #878183). |
| 193 |
|
| 194 |
- Allow zero-length ranges to be added to range sets (SF bug #871209). |
| 195 |
|
| 196 |
- Improved shell syntax highlighting patterns (SF bug #770855). |
| 197 |
|
| 198 |
- Regular expression crash fix (SF bug #987102). |
| 199 |
|
| 200 |
Changes since 5.5RC1 |
| 201 |
|
| 202 |
- Using exit() in macro no longer causes hang (SF bug #999021). |
| 203 |
|
| 204 |
- Updated rangeset documentation (SF bug #1005442). |
| 205 |
|
| 206 |
- Minor changes to the regular expression word boundary semantics |
| 207 |
(SF bug #1008656). |
| 208 |
|
| 209 |
- Tabs keep reasonable sizes when things get crowded (SF bug #1005064). |
| 210 |
|
| 211 |
- Many unnecessary file status checks are avoided. |
| 212 |
|
| 213 |
- Warn On Exit also affects closing of window with multiple tabs |
| 214 |
(SF bug #1006830) |
| 215 |
|
| 216 |
- "File Modified Externally" dialogs are only allowed for top tabs. |
| 217 |
|
| 218 |
- Broken virtual key bindings workaround was restored (problems with |
| 219 |
page-up and page-down). |
| 220 |
|
| 221 |
- Preference file number was bumped. |
| 222 |
|
| 223 |
- Dialogs' OK button layout fixes. |
| 224 |
|
| 225 |
- Fix for SF bug #999820: spaces in dialog button mnemonics. |
| 226 |
|
| 227 |
- Fix for SF bug #996786: problems with overtype mode |
| 228 |
|
| 229 |
Changes since 5.5RC2 |
| 230 |
|
| 231 |
- Less confusing menu wording (SF bug #1023089). |
| 232 |
|
| 233 |
- Shell command output is now sent to a new window or a new tab, |
| 234 |
depending on the tabbed editing preference settings. |
| 235 |
|
| 236 |
- Detaching/Moving non-top tab should not change top tab (SF bug #1020035). |
| 237 |
|
| 238 |
- Opening new window from a tabbed window no longer diminishes size |
| 239 |
(SF bug #1011233). |
| 240 |
|
| 241 |
New Features in 5.4 |
| 242 |
|
| 243 |
- Calltips (SF patch #495286) |
| 244 |
|
| 245 |
- Rangesets (SF patch #529298, #628933) |
| 246 |
|
| 247 |
- Backlighting (SF patch #529298) |
| 248 |
|
| 249 |
- Highlighting information macros (SF patch #529298) |
| 250 |
|
| 251 |
- Full mouse wheel support for XFree86 (SF patch #715941) |
| 252 |
|
| 253 |
- Look-behind matching for regular expressions (SF patch #530308) |
| 254 |
|
| 255 |
- Regular expression and syntax highlighting speed-ups |
| 256 |
|
| 257 |
- Flexible resource file location (SF patch #484674) |
| 258 |
See the section "Upgrading from 5.3 to 5.4" of the README file for |
| 259 |
more information. |
| 260 |
|
| 261 |
- Color dialog (SF patch #595330) |
| 262 |
|
| 263 |
- Option to auto-hide mouse pointer while typing |
| 264 |
|
| 265 |
- Option to keep cursor away from top and bottom of the screen |
| 266 |
|
| 267 |
- Check for real changes of externally modified files (SF patch #602426) |
| 268 |
|
| 269 |
- Synchronized interaction between nc and nedit (SF patch #403647) |
| 270 |
|
| 271 |
- Several smaller improvements on usability and speed |
| 272 |
|
| 273 |
- Several smaller improvements to the macro language (SF patch #552760, ...) |
| 274 |
|
| 275 |
Bugs Fixed in 5.4 |
| 276 |
|
| 277 |
- Unconvential word boundary semantics for regular expressions have |
| 278 |
been corrected (including affected syntax highlighting patterns). |
| 279 |
See the section "Upgrading from 5.3 to 5.4" of the README file for |
| 280 |
important information. |
| 281 |
|
| 282 |
- Config files didn't accept non-Unix file format (SF bug #411092) |
| 283 |
|
| 284 |
- Removed regex search bugs (SF bug #429110, #515120) |
| 285 |
|
| 286 |
- Smart-indent macros were unaffected by language mode renames (SF bug #439867) |
| 287 |
|
| 288 |
- All dialogs have titles now (SF bug #480960) |
| 289 |
|
| 290 |
- Giving long filenames at startup caused buffer overflows (SF bug #488412) |
| 291 |
|
| 292 |
- Made sure that dialogs don't get wider than screen |
| 293 |
(SF bug #488593, #489614, #713999) |
| 294 |
|
| 295 |
- Workaround for Motif drag icon bug (SF bug #526981: Crash using btn2 on |
| 296 |
help window buttons and SF bug #582469: 5.3 crash when selecting stats |
| 297 |
line text). |
| 298 |
|
| 299 |
- Dragging a rectangular selection could delete characters (SF bug #557225) |
| 300 |
|
| 301 |
- Show Matching Range bug (SF bug #559902) |
| 302 |
|
| 303 |
- Keyboard-based rectangular selections were forgotten if the selection ever |
| 304 |
became zero-width. |
| 305 |
|
| 306 |
- Workaround for KDE's FONTLIST bug (SF bug #561659) |
| 307 |
|
| 308 |
- Paths were still shown in current's window Windows menu after global option |
| 309 |
was changed (SF bug #564782) |
| 310 |
|
| 311 |
- Scrolling to searched or undone/redone section stopped short (SF bug #578551) |
| 312 |
|
| 313 |
- Removed flicker in stats line due to bug prevention (SF bug #594838) |
| 314 |
|
| 315 |
- Crash while dismissing a resized help window (SF bug #600175) |
| 316 |
|
| 317 |
- Macro functions were evaluated in a wrong order (SF bug #602336, #628552) |
| 318 |
|
| 319 |
- Syntax highlighting failures in LaTeX (SF bug #607072) |
| 320 |
|
| 321 |
- Crash with wrong values for -tabs option (SF bug #608693) |
| 322 |
|
| 323 |
- Macro shortcuts were sensitive to Lock and NumLock (SF bug #612558) |
| 324 |
|
| 325 |
- Appending the terminating line break was not reflected in the buffer |
| 326 |
(SF bug #617840) |
| 327 |
|
| 328 |
- A new nc(1) hanged after a server was killed or crashed (SF bug #619231) |
| 329 |
|
| 330 |
- Adds (short) list of deprecated macro functions (SF bug #619236) |
| 331 |
|
| 332 |
- Removed hazardous command shortcut (SF bug #649442) |
| 333 |
|
| 334 |
- Workaround for OpenMotif radio button bug (SF bug #678198: bug in |
| 335 |
Replace in multiple files). |
| 336 |
|
| 337 |
- Typo in SCO makefile (SF bug #689808) |
| 338 |
|
| 339 |
- Syntax highlighting routines assumed ASCII encoding (SF bug #700823) |
| 340 |
|
| 341 |
- Crash when starting up in a UTF-8 locale (SF bug #703246, 621972) |
| 342 |
|
| 343 |
- Crash while manipulating highlighting pattern (SF bug #705495) |
| 344 |
|
| 345 |
- Removed flicker in stats line during macro execution (SF bug #713780) |
| 346 |
|
| 347 |
- Close pane resize bug (SF bug #715767) |
| 348 |
|
| 349 |
- Macro function goto_line_number() only accepted one argument (SF bug #726325) |
| 350 |
|
| 351 |
- Newline macro inserting a string caused a crash when triggered |
| 352 |
through smart indent |
| 353 |
|
| 354 |
- Help text foreground was hard-coded to black (SF bug #723096) |
| 355 |
|
| 356 |
- System default colors from CDE Style Manager were ignored (SF bug #544053) |
| 357 |
|
| 358 |
Changes since 5.4RC1 |
| 359 |
|
| 360 |
- Panes didn't inherit the right colors (SF bug #780267) |
| 361 |
|
| 362 |
- Fixed Rangeset API usability issues and bugs. |
| 363 |
|
| 364 |
- Plain KP Enter now inserts a newline, not <CR> (SF bug #779439). |
| 365 |
|
| 366 |
- Enabled Motif version checking for xBSD. |
| 367 |
|
| 368 |
- SGI: compilation problem (SF bug #780841) |
| 369 |
|
| 370 |
- File modification issues (SF bug #782513, SF bug #784442) |
| 371 |
|
| 372 |
- Documentation updates. |
| 373 |
|
| 374 |
- Color dialog button resize problem. |
| 375 |
|
| 376 |
- undoModifiesSelection is no longer saved in .nedit/nedit.rc |
| 377 |
|
| 378 |
- Workaround for Lesstif's 'frozen windows' bug. |
| 379 |
|
| 380 |
- Fixed calltip parsing problem (SF bug #779681) |
| 381 |
|
| 382 |
- Macro language HL pattern updates. |
| 383 |
|
| 384 |
- nc -do ... no longer creates unwanted windows (SF bug #785738). |
| 385 |
|
| 386 |
- Improved color resource migration. |
| 387 |
|
| 388 |
- File accessibility is now determined with access() (SF bug #782518) |
| 389 |
|
| 390 |
Changes since 5.4RC2 |
| 391 |
|
| 392 |
- Nc crash fix on VMS. |
| 393 |
|
| 394 |
- Fixes in highlighting information inspection macros. |
| 395 |
|
| 396 |
- Nc -lm command line option fix. |
| 397 |
|
| 398 |
New Features in 5.3 |
| 399 |
|
| 400 |
This is mainly a bug fix release. The list of new features is therefore |
| 401 |
limited: |
| 402 |
|
| 403 |
- The built-in Help system was revamped. Most notably, a hyperlink |
| 404 |
mechanism was added for following cross-references. |
| 405 |
|
| 406 |
- Enhanced Exuberant ctags support (SF #491109). |
| 407 |
|
| 408 |
- Line numbers are available in shell commands (SF #434451). |
| 409 |
|
| 410 |
- Goto Line also accepts column numbers (SF #403435). |
| 411 |
|
| 412 |
- Automatic line-feed termination when saving is now optional (SF #503073). |
| 413 |
|
| 414 |
- A customizable window title (SF #477875/#519092). |
| 415 |
|
| 416 |
- Optional syntax based parenthesis matching (iso. purely character based) |
| 417 |
(SF #513976). |
| 418 |
|
| 419 |
|
| 420 |
Bugs Fixed in 5.3 |
| 421 |
|
| 422 |
- Find Definition incorrectly reads the X selection when not needed |
| 423 |
(SF #520941). |
| 424 |
|
| 425 |
- Background popup menu could lock up X-server when used with any of |
| 426 |
the lock keys on. |
| 427 |
|
| 428 |
- Very wide windows when starting NEdit under fvwm (SF #496526). |
| 429 |
|
| 430 |
- Workaround for illegal key bindings installed by other Motif applications, |
| 431 |
causing PageUp/PageDown and arrow keys to stop responding in NEdit |
| 432 |
(SF #493421/#525903). This is not an NEdit bug, it just looks like one. |
| 433 |
|
| 434 |
- Fix for PageUp/PageDown keys not responding (SF #508961). |
| 435 |
|
| 436 |
- Crash when running X on 2nd screen (SF #478234, #500353). |
| 437 |
|
| 438 |
- Line number display updating in continous wrap mode (SF #516920). |
| 439 |
|
| 440 |
- Performance problem with X Resources highlight patterns (SF #481290). |
| 441 |
|
| 442 |
- Menu fonts showing up as blocks (SF #434383) |
| 443 |
|
| 444 |
- Lockup's in syntax highlighting (especially Perl) (SF #512961). |
| 445 |
|
| 446 |
- Crash when using characters with ASCII code >= 128 in syntax |
| 447 |
highlighting patterns. |
| 448 |
|
| 449 |
- Crash when modifying tab distance in continous wrap mode (SF #510631). |
| 450 |
|
| 451 |
- Crash when running NEdit in low-depth color modes. |
| 452 |
|
| 453 |
- Continous wrap mode + variable width font display bugs. |
| 454 |
|
| 455 |
- Potential scroll bar corruption in continuous wrap mode (SF #510765). |
| 456 |
|
| 457 |
- Workaround for selection copy/paste problems with recent versions |
| 458 |
of gnome-terminal. |
| 459 |
|
| 460 |
- Jump to tags only referenced by line number. |
| 461 |
|
| 462 |
- Composed characters in learned sequence (SF #480966). |
| 463 |
|
| 464 |
- Missing titles in some dialogs (SF #480960). |
| 465 |
|
| 466 |
- Macro language: continue statement outside loop crash (SF #495293). |
| 467 |
|
| 468 |
- Rectangular overstrike past fixes (SF #487945). |
| 469 |
|
| 470 |
- Hard-coded statistics line font (SF #487153). |
| 471 |
|
| 472 |
- Open filenames starting with a dash (SF #485610). |
| 473 |
|
| 474 |
- Crash when closing window of non-existing file while error dialog is up. |
| 475 |
|
| 476 |
- Bad CapsLock grab on certain keyboard configurations (SF #482504). |
| 477 |
|
| 478 |
- Replacements in rectangular selections could sometimes fail. |
| 479 |
|
| 480 |
- Various buffer overflow fixes. |
| 481 |
|
| 482 |
- Multiple selection dialog does not pop up on first find (SF #473602). |
| 483 |
|
| 484 |
- Tag not found (SF #466742). |
| 485 |
|
| 486 |
- Files opened with -read command line option could not be unlocked. |
| 487 |
|
| 488 |
New Features in 5.2 |
| 489 |
|
| 490 |
- Added built-in patterns for CSS, XML, and regular expressions (Regex). |
| 491 |
Many other pattern updates. |
| 492 |
|
| 493 |
- Support for high- and true-color systems. NEdit now will automatically |
| 494 |
select the best visual from your X server. This reduces the chance of |
| 495 |
running out of colors. |
| 496 |
|
| 497 |
- New features in the Find and Replace dialogs: |
| 498 |
|
| 499 |
o Replacement across multiple windows in a session. |
| 500 |
o Case sensitivity may be set independently of regular expressions. |
| 501 |
o Add "Replace and Find" command, which saves keystrokes when doing |
| 502 |
a large-scale find & replace. |
| 503 |
|
| 504 |
- ClearCase version-extended pathnames. |
| 505 |
|
| 506 |
- Many new macro subroutines and variables. |
| 507 |
|
| 508 |
- Array support in macros. |
| 509 |
|
| 510 |
- Range highlighting of matching delimiters. |
| 511 |
|
| 512 |
- Undo and Redo highlights the text that has changed, when visible. |
| 513 |
|
| 514 |
- Support for wheel mouse scrolling on servers that support it (XFree86). |
| 515 |
|
| 516 |
- Improved accelerator key handling. |
| 517 |
|
| 518 |
- Insert Control Code dialog accepts value in any valid C notation |
| 519 |
|
| 520 |
- Optional beeping when search operations wrap. |
| 521 |
|
| 522 |
- Additional default search styles. |
| 523 |
|
| 524 |
- Optional displaying of path names in the window list menu. |
| 525 |
|
| 526 |
|
| 527 |
Bug Fixes in 5.2 |
| 528 |
|
| 529 |
- Fix a crash when entering an invalid line number in "Goto Line". |
| 530 |
|
| 531 |
- Ignore the Caps-Lock key when invoking accelerators. |
| 532 |
|
| 533 |
- Fix problems when running NEdit on 64-bit platforms like Alpha |
| 534 |
|
| 535 |
- NEdit failed to open files if some directories above were not "readable" |
| 536 |
|
| 537 |
- Fix potential crashes if some system calls fail |
| 538 |
|
| 539 |
- When no colors are left, attempt to reuse the closest matching color. This |
| 540 |
allows NEdit's syntax highlighting to better coexist with Netscape, which |
| 541 |
unfortuntely takes all available colors. |
| 542 |
|
| 543 |
- "Overtype" mode is now bound to the Insert key, to be consistent with |
| 544 |
Motif text fields. |
| 545 |
|
| 546 |
- Accelerators now available in confirmation dialogs, and may be invoked |
| 547 |
without the Alt key. |
| 548 |
|
| 549 |
- Don't even try to open a directory for editing |
| 550 |
|
| 551 |
- Fix a couple of memory corruption problems |
| 552 |
|
| 553 |
|
| 554 |
New Features in 5.1 |
| 555 |
|
| 556 |
- Significant extensions to the regular expression syntax. See details |
| 557 |
below. |
| 558 |
|
| 559 |
- Incremental search, and optional search bar. |
| 560 |
|
| 561 |
- New ctags code with full support for Exuberant Ctags, better |
| 562 |
handling of tag collisions, multiple tag file support, on-demand |
| 563 |
loading of tag files, and automatic reload of modified tag files. |
| 564 |
|
| 565 |
- Optional display of line numbers along the left side of the text. |
| 566 |
|
| 567 |
- NEdit can now read and write MS DOS format files. |
| 568 |
|
| 569 |
- New built-in syntax highlighting patterns for Lex, PostScript, SQL, |
| 570 |
Many syntax highlighting pattern improvements. |
| 571 |
|
| 572 |
- Improved international character set input |
| 573 |
|
| 574 |
- New macro subroutines: list_dialog, getenv, set_language_mode. |
| 575 |
|
| 576 |
- Optional warnings about external modifications to files |
| 577 |
|
| 578 |
- Clearcase awareness |
| 579 |
|
| 580 |
- Session manager restart capability |
| 581 |
|
| 582 |
- Default language mode "*" for user-defined menu items, allows |
| 583 |
per-language variations on a common base |
| 584 |
|
| 585 |
- Allow additional modifiers like Sun diamond key in user defined |
| 586 |
accelerators |
| 587 |
|
| 588 |
- Option to sort open previous menu. |
| 589 |
|
| 590 |
- -geometry and -iconic command line arguments act per-window, and |
| 591 |
can be specified via nc |
| 592 |
|
| 593 |
- -geometry now specified in characters, rather than pixels |
| 594 |
|
| 595 |
- -lm (language mode) command line option |
| 596 |
|
| 597 |
- Save As dialog defaults to same file name |
| 598 |
|
| 599 |
- Better default fonts for Linux systems |
| 600 |
|
| 601 |
- .nedit file version mechanism to make future upgrades easier |
| 602 |
|
| 603 |
|
| 604 |
Bug Fixes in 5.1 |
| 605 |
|
| 606 |
- Crash on large amounts of data fed to shell command which does not |
| 607 |
take input |
| 608 |
|
| 609 |
- Delayed secondary windows when executable statements specified in |
| 610 |
users .neditmacro file |
| 611 |
|
| 612 |
- Many corrections to online help |
| 613 |
|
| 614 |
- Many highlight patterns corrections |
| 615 |
|
| 616 |
- Using window close box in file open/save dialogs leaves nedit server |
| 617 |
unresponsive |
| 618 |
|
| 619 |
- escape in macro dialogs can cause macro hang |
| 620 |
|
| 621 |
- Lesstif-specific fixes: attachment warnings in font selector, |
| 622 |
Work around replace dialog focus bug. |
| 623 |
|
| 624 |
- NEdit no longer maintains original protection settings on files. It |
| 625 |
allows them to be changed externally. |
| 626 |
|
| 627 |
|
| 628 |
Details of Regular Expression Changes in 5.1 |
| 629 |
|
| 630 |
Bug Fixes |
| 631 |
|
| 632 |
o Fixed bug that caused character classes with a character range not to |
| 633 |
work properly if one of the range characters was an escaped character. |
| 634 |
|
| 635 |
Improvements In Existing Features |
| 636 |
|
| 637 |
o Increased maximum number of capturing parentheses from 40 to 50. |
| 638 |
|
| 639 |
o Removed optimization that uses `must match' strings (it didn't work and |
| 640 |
caused more problems than it solved.) |
| 641 |
|
| 642 |
o Improved error messages. |
| 643 |
|
| 644 |
o Improved Start-Of-Line and End-Of-Line detection by the `^', `$', and the |
| 645 |
new `\B' (see below) anchors. The Start-Of-Word and End-Of-Word anchors |
| 646 |
`<' and `>' where not enhanced due to syntax color highlighting pattern |
| 647 |
compatibility issues. |
| 648 |
|
| 649 |
o Changed code to use "unsigned char" in most cases instead of "signed |
| 650 |
char". Also, use of ANSI character functions (e.g. isdigit(), isspace()) |
| 651 |
were added wherever possible. These changes should improve support for |
| 652 |
locales other than "C", for example character sets with accented |
| 653 |
characters. |
| 654 |
|
| 655 |
o Added character escapes for: |
| 656 |
- \e ASCII escape character (for environments that use the EBCDIC |
| 657 |
character set, set the EBCDIC_CHARSET compiler symbol to get the |
| 658 |
EBCDIC equivalent escape character.) |
| 659 |
|
| 660 |
- \- minus sign |
| 661 |
- \{ left brace |
| 662 |
- \} right brace |
| 663 |
|
| 664 |
o Removed the `\"' escape since `"' is not a meta character. |
| 665 |
|
| 666 |
o In order to support numeric escapes, use of `\0' as a synonym for `&' |
| 667 |
in replacement strings was removed. `\0' now signals the start of a |
| 668 |
numeric (octal) escape sequence (see below.) |
| 669 |
|
| 670 |
o Minor tweaks for improved performance. |
| 671 |
|
| 672 |
Enhancements |
| 673 |
|
| 674 |
o Octal and Hexadecimal Escapes |
| 675 |
|
| 676 |
Octal and hexadecimal escapes begin with \0 and \x (or \X) respectively. |
| 677 |
For example, \052 and \X2A both specify the `*' character. Escapes for |
| 678 |
null (\00 or \x0) are not valid and will generate an error message. |
| 679 |
|
| 680 |
o Shortcut Escapes for Common Character Classes |
| 681 |
|
| 682 |
\d digits 0-9 |
| 683 |
\l letters a-z and A-Z |
| 684 |
\s whitespace \t, \r, \v, \f, and space |
| 685 |
\w word characters a-z, A-Z, 0-9, and underscore, `_' |
| 686 |
|
| 687 |
`\D', `\L', `\S', and `\W' are the same as the lowercase versions except |
| 688 |
that the resulting character class is negated. |
| 689 |
|
| 690 |
o Anchors |
| 691 |
|
| 692 |
The `\B' non-word boundary anchor has been added as the logical opposite |
| 693 |
of `<' and `>' collectively. This anchor ensures that the left and |
| 694 |
right characters are either both delimiter characters or both |
| 695 |
non-delimiter characters. |
| 696 |
|
| 697 |
o Word Delimiter Escape Sequences |
| 698 |
|
| 699 |
\y Word delimiter character |
| 700 |
\Y Not a word delimiter character |
| 701 |
|
| 702 |
The `\y' token matches any single character that is one of the characters |
| 703 |
that NEdit recognizes as a word delimiter character, while the `\Y' token |
| 704 |
matches any character that is NOT a word delimiter character. Note: |
| 705 |
these are not anchors and DO consume one character of input. |
| 706 |
|
| 707 |
|
| 708 |
o Quantifiers |
| 709 |
|
| 710 |
+ Minimal (lazy) Matching Quantifiers |
| 711 |
|
| 712 |
*? Match zero or more |
| 713 |
+? Match one at least one |
| 714 |
?? Match zero or one |
| 715 |
|
| 716 |
These quantifiers match only what is absolutely necessary to achieve |
| 717 |
a match. |
| 718 |
|
| 719 |
+ Counting (or Brace) Quantifier |
| 720 |
|
| 721 |
{min,max} Match from `min' to `max' times the previous regular |
| 722 |
expression atom. |
| 723 |
|
| 724 |
If `min' is omitted, it is assumed to be zero. If `max' is omitted, |
| 725 |
it is assumed to be infinity. Whether specified or assumed, `min' |
| 726 |
must be less than or equal to `max'. If both are omitted, then the |
| 727 |
construct is the same as `*'. Note that `{,}' and `{}' are both |
| 728 |
valid brace constructs. A single number appearing without a comma, |
| 729 |
e.g. `{3}' is short for the `{min,min}' construct, or to match |
| 730 |
exactly `min' number of times. |
| 731 |
|
| 732 |
o Non-Capturing Parentheses |
| 733 |
|
| 734 |
Non-Capturing Parentheses are of the form `(?:<regex>)' and facilitate |
| 735 |
grouping only and do not incur the overhead of normal capturing |
| 736 |
parentheses. |
| 737 |
|
| 738 |
o Positive Look-Ahead |
| 739 |
|
| 740 |
Positive look-ahead constructs are of the form `(?=<regex>)' and |
| 741 |
implement a zero width assertion of the enclosed regular expression. In |
| 742 |
other words, a match of the regular expression contained in the positive |
| 743 |
look-ahead construct is attempted. If it succeeds, control is passed to |
| 744 |
the next regular expression atom, but the text that was consumed by the |
| 745 |
positive look-ahead is first unmatched (backtracked) to the place in the |
| 746 |
text where the positive look-ahead was first encountered. |
| 747 |
|
| 748 |
o Negative Look-Ahead |
| 749 |
|
| 750 |
Negative look-ahead takes the form `(?!<regex>)' and is exactly the same |
| 751 |
as positive look-ahead except that the enclosed regular expression must |
| 752 |
NOT match. |
| 753 |
|
| 754 |
o Case Sensitivity |
| 755 |
|
| 756 |
(?i<regex>) Case insensitive; `AbcD' and `aBCd' are equivalent. |
| 757 |
(?I<regex>) Case sensitive; `AbcD' and `aBCd' are different. |
| 758 |
|
| 759 |
Regular expressions are case sensitive by default, i.e `(?I<regex>)' is |
| 760 |
assumed. All regular expression meta characters respond appropriately to |
| 761 |
case insensitivity including character classes and back-references. |
| 762 |
|
| 763 |
o Matching Newlines |
| 764 |
|
| 765 |
(?n<regex>) `.', `[^...]', `\s', `\S' will match newlines |
| 766 |
(?N<regex>) `.', `[^...]', `\s', `\S' do not match newlines |
| 767 |
|
| 768 |
`(?N<regex>)' is the default behavior. |
| 769 |
|
| 770 |
o Comments |
| 771 |
|
| 772 |
Comments are of the form `(?#<comment text>)' and can be inserted |
| 773 |
anywhere and have no effect on the execution of the regular expression. |
| 774 |
|
| 775 |
o Notes on New Parenthetical Constructs |
| 776 |
|
| 777 |
Except for plain parentheses, none of the parenthetical constructs |
| 778 |
capture text. If that is desired, the construct must be wrapped with |
| 779 |
capturing parentheses, e.g. `((?i<regex))'. |
| 780 |
|
| 781 |
All parenthetical constructs can be nested as deeply as desired, except |
| 782 |
for capturing parentheses which have a limit of 50 sets of parentheses, |
| 783 |
regardless of nesting level. |
| 784 |
|
| 785 |
|
| 786 |
New Features in 5.0.2: |
| 787 |
|
| 788 |
- Word-selection (double click) can be used to select ranges of delimiters |
| 789 |
|
| 790 |
- New built-in macro variables: $line, $column, and $modified |
| 791 |
|
| 792 |
- Smart-indent mode available for Python language |
| 793 |
|
| 794 |
- Minor improvements in default pattern sets for NEdit Macros, X Resources, |
| 795 |
and Sh/Ksh/Bash |
| 796 |
|
| 797 |
|
| 798 |
Bug Fixes in 5.0.2: |
| 799 |
|
| 800 |
- -import did not work as advertised in 5.0.1. When used, it re-set a |
| 801 |
number of preferences back to default values. Could also potentially |
| 802 |
cause a crash. |
| 803 |
|
| 804 |
- Macro -> Repeat crashes on some systems. |
| 805 |
|
| 806 |
- Mouse state can get "stuck" on Alpha-based systems. |
| 807 |
|
| 808 |
- Combination of auto-wrap, auto-indent, and unbreakable lines extending the |
| 809 |
width of the window, caused nedit to unnecessarily insert blank lines. |
| 810 |
|
| 811 |
- Incorrect case-insensitive comparison in character sets > 128 bits. |
| 812 |
|
| 813 |
- in by-word drag-selection (double click then drag) when begun in the middle |
| 814 |
of a whitespace selection, anchor would revert to original cursor position |
| 815 |
rather than maintaining the entire whitespace block. |
| 816 |
|
| 817 |
- Language mode names containing spaces could not be used in language |
| 818 |
sensitive user-defined menu items. |
| 819 |
|
| 820 |
- New windows did not always see existing learn/replay sequence, recorded |
| 821 |
before the window was created. |
| 822 |
|
| 823 |
- Possible crash in search_string and search_window macros, when used with |
| 824 |
long search strings. |
| 825 |
|
| 826 |
- Possible crash in get_selection("any") macro. |
| 827 |
|
| 828 |
- Under Solaris, crashes on window opening, file dialog, and language mode |
| 829 |
selection, when user-defined sub-menus were used. |
| 830 |
|
| 831 |
- Filenames containing spaces could cause the .neditdb file to become |
| 832 |
unreadable. |
| 833 |
|
| 834 |
- Escape key could not be used to cancel file-selection dialogs when the |
| 835 |
file list had keyboard focus (which it almost always does). |
| 836 |
|
| 837 |
|
| 838 |
New Features in 5.0.1: |
| 839 |
|
| 840 |
- Repeat-over-range, and repeat-to-end capability for repeating last |
| 841 |
command and learn/replay sequence. |
| 842 |
|
| 843 |
- Import capability for loading macro/shell menu commands, highlight |
| 844 |
patterns, and style sets created by other users. |
| 845 |
|
| 846 |
- New macro language routines: string_to_clipboard, clipboard_to_string, |
| 847 |
toupper, tolower, variables: $em_tab_dist. |
| 848 |
|
| 849 |
- Additional default highlight patterns for sh and X resources. |
| 850 |
|
| 851 |
- Sorted Open Previous menu. |
| 852 |
|
| 853 |
- Numerous improvements to default highlighting patterns and smart indent |
| 854 |
macros. |
| 855 |
|
| 856 |
|
| 857 |
Bug Fixes in 5.0.1: |
| 858 |
|
| 859 |
- Various crashes on Motif 2.0 (Linux and FreeBSD) systems, usually |
| 860 |
associated with opening files and changing language modes. Usually, |
| 861 |
but not necessarily, following changes to user-defined menu items. |
| 862 |
|
| 863 |
- Background menu activation during drag operation could leave drag |
| 864 |
unfinished, cause undo to malfunction, and eventually lead to a crash (which |
| 865 |
was easy to trigger accidentally when the middle button is emulated with |
| 866 |
mouse-chords on a two button mouse). |
| 867 |
|
| 868 |
- X11R6 clients talking to X11R5 servers could crash on font dialog. |
| 869 |
|
| 870 |
- Rapid repetition of long macros (such as binding to key and using keyboard |
| 871 |
repeat) could cause crash. |
| 872 |
|
| 873 |
- Several commands which put up dialogs were vulnerable to timing windows |
| 874 |
where repeating the command could cause a crash. |
| 875 |
|
| 876 |
- Calling macro close() routine could cause crash if used to close the window |
| 877 |
in which the macro was executing. |
| 878 |
|
| 879 |
- Using load_macro_file() as an "include" statement in macro files could |
| 880 |
cause hang. |
| 881 |
|
| 882 |
- Artifacts when using non-matching highlight fonts, and making certain types |
| 883 |
of changes which change the fonts used to display other (not the line being |
| 884 |
modified) lines in the file. |
| 885 |
|
| 886 |
- Auto-newline wrap in overtype mode could duplicate part of wrapped text. |
| 887 |
|
| 888 |
- Lower panes in split window mode allowed modification to read-only windows. |
| 889 |
|
| 890 |
- Several minor dialog and window focus related problems for explicit (click |
| 891 |
to focus) users. |
| 892 |
|
| 893 |
- Paste Column ignored existing selection. |
| 894 |
|
| 895 |
- After copying and re-naming language mode information, highlight patterns |
| 896 |
and smart indent macros remained attached to the re-named pattern instead of |
| 897 |
the original. |
| 898 |
|
| 899 |
- Trailing newlines should not have been prohibited in Open Selected. |
| 900 |
|
| 901 |
- Help for creating smart indent macros was missing. |
| 902 |
|
| 903 |
|
| 904 |
New Features in 5.0 |
| 905 |
|
| 906 |
- Completed macro extension language (Simple C/awk-like syntax, safe, |
| 907 |
fully interruptable) |
| 908 |
|
| 909 |
- Syntax highlighting. Built-in patterns for C, C++, Java, Fortran, Pascal, |
| 910 |
Ada, Perl, Python, Tcl, Awk, Csh, HTML, LaTeX, VHDL, Verilog, and more. |
| 911 |
|
| 912 |
- Programmable Smart indent. (Experimentally, at least. There are only |
| 913 |
macros for C and C++, and they may not fit everyone's programming style.) |
| 914 |
|
| 915 |
- Language-sensitive preferences |
| 916 |
|
| 917 |
- Continuous wrap mode (long line wrapping), in addition to existing |
| 918 |
automatic-newline wrapping |
| 919 |
|
| 920 |
- User-defined menus can be hierarchical and language-sensitive. |
| 921 |
|
| 922 |
- Configurable right-button pop up menu |
| 923 |
|
| 924 |
- Pan-scrolling |
| 925 |
|
| 926 |
- Searchable on-line help |
| 927 |
|
| 928 |
- Word boundary matching (<>) in regular expressions |
| 929 |
|
| 930 |
- Repeat command |
| 931 |
|
| 932 |
- More dialogs have up-arrow recall |
| 933 |
|
| 934 |
- White-space selection via double-click |
| 935 |
|
| 936 |
|
| 937 |
Bug Fixes and Enhancements to Existing Features in 5.0 |
| 938 |
|
| 939 |
- No more limits on editing files containing ascii nul characters |
| 940 |
|
| 941 |
- Fill Paragraph command handles leading indents |
| 942 |
|
| 943 |
- Select to mark |
| 944 |
|
| 945 |
- Better directory defaulting in Open Selected and shell commands |
| 946 |
|
| 947 |
- Open Selected processes tilde (~) and wildcards |
| 948 |
|
| 949 |
- Goto Mark centers scroll position better |
| 950 |
|
| 951 |
- Multiple shell commands can be run simultaneously |
| 952 |
|
| 953 |
- Shell command execution doesn't block server command processing |
| 954 |
|
| 955 |
- Emulated-tab deletion treats auto-indent as emulated tabs |
| 956 |
|
| 957 |
- Auto-wrapping of pasted text is optional (off by default) |
| 958 |
|
| 959 |
- Notice that default preferences have changed and ask about saving |
| 960 |
on exit |
| 961 |
|
| 962 |
- Selections remain selected after shell command and filter execution |
| 963 |
|
| 964 |
- Wrap margin and emulated tab distance preferences are properly |
| 965 |
transferred to new panes in split window mode |