[eb1a49]: doc / CHANGES.txt Maximize Restore History

Download this file

CHANGES.txt    533 lines (440 with data), 20.0 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
jEdit 4.5 version history
(changes since jEdit 4.4.2)
:encoding=UTF-8:
{{{ Version 4.5pre1
Thanks to Bjรถrn "Vampire" Kautler, Matthieu Casanova, Alan Ezust, cy6erGn0m,
Bad Sector, jclopes, Dale Anson, Anshal Shukla, Ryan Mott, Damien Radtke,
Matthew Gilbert, Dennis Hotson, Kevin Hunter, encorejane, nherzing, Jeremy,
Evan Wright, Shlomy Reinstein, glen117, Marcelo Vanzin and Eric Le Lay for
contributing to this release.
{{{ Bug fixes
- Fixed jEdit starting when max heap size is too low to load Killring
(#1827853) (Matthieu Casanova)
- Fix Checkbox Menu not working on OSX (#3155813 patch #3159277) (Evan Wright)
- Fixed a class loading issue when no GUI (SplashScreen or TrayIcon) was shown
on startup. The effects were visible if the VoxSpell plugin was installed
and the Markdown plugin was tried to be used. (Bjรถrn "Vampire" Kautler)
- When changing the Look and Feel on-the-fly, already shown JTrees with
explicitly set TreeCellRenderers were rendered wrongly, now they are robust
in regards to Look and Feel changes. (Bjรถrn "Vampire" Kautler)
- Fixed plugin install panel : when the selected plugin had dependencies that
were not visible because of the filtered view, those dependencies were not
installed. Now the install panel will always show selected plugins so you can
know what will be installed (Matthieu Casanova)
- The selectionLength status bar widget is now updated when jEdit starts, and
says 0 instead of nothing if there is no selection (Matthieu Casanova)
- Fixed the file properties dialog when the VFS has no rename capability
(Matthieu Casanova)
- Latex string literal fixed : when starting with `` the String literal can
now end with " or '' (#3152515 - patch #3162735 Evan Wright)
- When jEdit is unable to autosave jEdit now logs a warning, but doesn't
pop an error dialog every 30 seconds (#3154842 - Matthieu Casanova)
- Made jedit.exe to find JDK, so that jEdit runs only with JDK (without
JRE) like 4.3.x and before. (SF.net bug #3134149 - Kazutoshi Satoda)
- Fix for tracker 3134215, restore previously opened files setting not being
considered when restoring split configuration. (#3134215 - Dale Anson)
- After using save-as action on a read-only buffer the new buffer is no longer
read-only (#3148102 - Matthieu Casanova)
- Applied patch from Ryan Mott that fixes textarea scrolling left
automatically when selecting text at the end of a long line and trying to
scroll down if next lines are shorter. (#2841162, Matthieu Casanova)
- Applied suggestion from bug 3160310 to correctly set permissions on
symlinked files (Marcelo Vanzin)
- Fixed an exception that occurs when opening jEdit from command line
with some files to open as argument if a jEdit server is running
(#3173669 - Matthieu Casanova)
- Fixed wrong mode detection on drag and drop from GNOME Commander.
(#3374207 - Shlomy Reinstein)
- Fixed deadlock (jEdit freeze) when multiple files are dragged into the text
area from file managers. (Shlomy Reinstein)
- Fix for tracker 3034220, jEdit fails to load text-file under Mac OS X
(#3034220 - Evan Wright)
}}}
{{{ API Changes
- Added GUIUtilities.option() method to display a JOptionPane.option()
dialog (Matthieu Casanova)
- Added a possibility to get the pure path from a VFS path without the
overhead of the VFS like usernames, passwords, hosts, archive files and
so on. VFS implementations should check whether they need to override
the new getFilePath method. (Bjรถrn "Vampire" Kautler)
- Added EnhancedTreeCellRenderer to be used as Look and Feel change aware
alternative base class instead of DefaultTreeCellRenderer for custom
TreeCellRenderers. (Bjรถrn "Vampire" Kautler)
- Added TaskAdapter that is a default implementation of the TaskListener
(Matthieu Casanova)
- TaskManager.countTasks() returns the number of tasks in queue
(Matthieu Casanova)
- New methods JEditBuffer.setContextInsensitive(boolean) and
JEditBuffer.GetContextInsensitive() to manage the new attribute
contextInsensitive of JEditBuffer. By default it is set by the
edit mode, but you can change it's value (careful, it can break
the syntax highlight of your buffer if you don't know what you do)
(Matthieu Casanova)
- New method TextArea.getVisibleLineText(screenLine) and
TextArea.getVisibleLineSegment() that returns
the visible part of the given line (Matthieu Casanova)
- AbstractOptionPane.save() and AbstractOptionPane.init() are now
final as they should be since jEdit 4.2
- API made public:
org.gjt.sp.jedit.browser.VFSFileNameField (Marcelo Vanzin)
- API made private:
FileVFS.modified
(Matthieu Casanova)
- Removed Deprecated apis :
EditPlugin.createMenuItems(Vector menuItems)
EditPlugin.createOptionPanes(OptionsDialog optionsDialog)
HistoryModel.clear()
JEditTextArea.getSelectionStart()
JEditTextArea.getSelectionStart(int line)
JEditTextArea.getSelectionStartLine()
JEditTextArea.setSelectionStart(int selectionStart)
JEditTextArea.getSelectionEnd()
JEditTextArea.getSelectionEnd(int line)
JEditTextArea.getSelectionEndLine()
JEditTextArea.setSelectionEnd(int selectionEnd)
JEditTextArea.select(int start, int end)
JEditTextArea.select(int start, int end, boolean doElectricScroll)
JEditTextArea.isSelectionRectangular()
TextAreaPainter.setAntiAliasEnabled(boolean isEnabled)
TextAreaPainter.isAntiAliasEnabled()
FoldHandler.SERVICE
Buffer.addBufferChangeListener(BufferChangeListener listener, int priority)
Buffer.putProperty(Object name, Object value)
Buffer.putBooleanProperty(String name, boolean value)
Buffer.markTokens(int lineIndex)
Buffer.TokenList
Buffer.getMarkersPath(VFS vfs)
Buffer.insertString(int offset, String str, AttributeSet attr)
Buffer.editSyntaxStyle(JEditTextArea textArea)
Buffer.addBufferChangeListener(BufferChangeListener listener)
Buffer.removeBufferChangeListener(BufferChangeListener listener)
Buffer.addBufferChangeListener(BufferChangeListener listener)
BufferChangeAdapter
BufferChangeListener
BufferIORequest.GZIP_MAGIC_1
BufferIORequest.GZIP_MAGIC_2
BufferIORequest.UTF8_MAGIC_1
BufferIORequest.UTF8_MAGIC_2
BufferIORequest.UTF8_MAGIC_3
BufferIORequest.UNICODE_MAGIC_1
BufferIORequest.UNICODE_MAGIC_2
BufferIORequest.XML_PI_LENGTH
JEditBuffer.indentLine(int lineIndex,
boolean canIncreaseIndent,
boolean canDecreaseIndent)
JEditBuffer.isElectricKey(char ch)
MiscUtilities.UTF_8_Y
MiscUtilities.getFileParent(String path)
MiscUtilities.getFileProtocol(String url)
MiscUtilities.moveFile(File source, File dest)
MiscUtilities.compareVersions(String v1, String v2)
MiscUtilities.quicksort(Object[] obj, Comparator compare)
MiscUtilities.quicksort(List list, Comparator compare)
MiscUtilities.copyStream(int bufferSize,
ProgressObserver progress,
InputStream in,
OutputStream out,
boolean canStop)
MiscUtilities.copyStream(ProgressObserver progress,
InputStream in,
OutputStream out,
boolean canStop)
MiscUtilities.isBinary(Reader reader)
MiscUtilities.closeQuietly(InputStream in)
MiscUtilities.closeQuietly(OutputStream out)
MiscUtilities.createWhiteSpace(int len, int tabSize)
MiscUtilities.getLeadingWhiteSpaceWidth(String str, int tabSize)
MiscUtilities.getColorHexString(Color c)
Chunk.init(Segment seg,
TabExpander expander,
float x,
FontRenderContext fontRenderContext)
DisplayTokenHandler.init(SyntaxStyle[] styles,
FontRenderContext fontRenderContext,
TabExpander expander,
List<Chunk> out,
float wrapMargin)
DisplayTokenHandler.initChunk(Chunk chunk, Segment seg)
ParserRuleSet.getRules(char ch)
ParserRule.EXCLUDE_MATCH
ParserRule.NO_ESCAPE
ParserRule.next
ParserRule.createRegexpSequenceRule(char hashChar,
int posMatch,
String seq,
ParserRuleSet delegate,
byte id,
boolean ignoreCase)
ParserRule.createRegexpEOLSpanRule(char hashChar,
int posMatch,
String seq,
ParserRuleSet delegate,
byte id,
byte matchType,
boolean ignoreCase)
PluginManagerProgress.setValue(int value)
BracketIndentRule.getBrackets(String line)
CloseBracketIndentRule.isMatch(String line)
RegexpIndentRule.isMatch(String line)
DockableLayout.setAlternateLayout()
GrabKeyDialog.toString(KeyEvent evt)
InputHandler.readNextChar(String code)
KeyEventTranslator.translateKeyEvent2(KeyEvent evt)
KeyEventTranslator.Key.isPhantom()
VFSBrowser.getFilenameFilter()
View.ABOVE_ACTION_BAR_LAYER
View.processKeyEvent(KeyEvent evt, int from, boolean global)
OperatingSystem.hasJava14()
OperatingSystem.hasJava15()
GUIUtilities.centerOnScreen(Window win)
GUIUtilities.loadStyles(String family, int size)
GUIUtilities.loadStyles(String family, int size, boolean color)
GUIUtilities.parseStyle(String str, String family, int size, boolean color)
GUIUtilities.parseColor(String name, Color defaultColor)
GUIUtilities.getColorHexString(Color c)
GUIUtilities.NEW_BUFFER_ICON
GUIUtilities.DIRTY_BUFFER_ICON
GUIUtilities.READ_ONLY_BUFFER_ICON
GUIUtilities.NORMAL_BUFFER_ICON
GUIUtilities.WINDOW_ICON
BeanShell.runScript(View view,
String path,
Reader in,
boolean ownNamespace,
boolean rethrowBshErrors)
BeanShell.runScript(View view,
String path,
boolean ownNamespace,
boolean rethrowBshErrors)
BeanShell.eval(View view,
String command,
boolean rethrowBshErrors)
BeanShell.eval(View view,
NameSpace namespace,
String command,
boolean rethrowBshErrors)
EditAction.getView(Component comp)
EditBus.getComponents()
JarClassLoader.getZipFile()
MiscUtilities.charsToEscapes(String str)
MiscUtilities.charsToEscapes(String str, String toEscape)
MiscUtilities.compareStrings(String str1, String str2, boolean ignoreCase)
MiscUtilities.StringCompare
MiscUtilities.StringICaseCompare
MiscUtilities.getLeadingWhiteSpace(String str)
MiscUtilities.getTrailingWhiteSpace(String str)
MiscUtilities.getVirtualWidth(Segment seg, int tabSize)
MiscUtilities.getOffsetOfVirtualColumn(Segment seg,
int tabSize,
int column,
int[] totalVirtualWidth)
MiscUtilities.createWhiteSpace(int len, int tabSize, int start)
MiscUtilities.globToRE(String glob)
MiscUtilities.quicksort(Vector vector, Compare compare)
MiscUtilities.quicksort(Vector vector, Comparator compare)
MiscUtilities.quicksort(Object[] obj, Compare compare)
MiscUtilities.Compare
MiscUtilities.MenuItemCompare
MiscUtilities.getEncodings()
MiscUtilities.parseXML(InputStream in, DefaultHandler handler)
MiscUtilities.findEntity(String systemId, String test, Class where)
MiscUtilities.charsToEntities(String str)
MiscUtilities.stringsEqual(String s1, String s2)
MiscUtilities.objectsEqual(Object o1, Object o2)
MiscUtilities.KB_FORMAT
MiscUtilities.MB_FORMAT
MiscUtilities.formatFileSize(long length)
SegmentCharSequence.SegmentCharSequence(Segment seg, boolean reverse)
PluginJar.getActions()
Registers.StringRegister
jEdit.getActionSetForAction(EditAction action)
jEdit.getActions()
jEdit.openFile(View view,
String parent,
String path,
boolean readOnly,
boolean newFile)
jEdit.openFile(View view,
String parent,
String path,
boolean readOnly,
boolean newFile,
Hashtable props)
jEdit.createTextArea()
TextArea.getMarkLine()
VFS.DirectoryEntry
VFS.VFS(String name)
VFS.showBrowseDialog(Object[] session, Component comp)
VFS._listDirectory(Object session, String directory, Component comp)
VFS._getDirectoryEntry(Object session, String path, Component comp)
VFSManager.getVFSByName(String name)
VFSManager.registerVFS(String protocol, VFS vfs)
VFSManager.error(final Component comp,
final String error,
final Object[] args)
VFSManager.getFilesystems()
VFSFile.name
VFSFile.path
VFSFile.symlinkPath
VFSFile.deletePath
VFSFile.type
VFSFile.length
VFSFile.hidden
VFSFile.canRead
VFSFile.canWrite
ReadWriteLock
(Matthieu Casanova)
- Applied patch #2809978 to remove use of deprecated methods in jEdit's
textarea (#2809978 from Kevin Hunter, Matthieu Casanova)
}}}
{{{ Editing
- Improvement of filename glob for apacheconf mode to include more files
in the conf directories on Windows and Linux.
(part of Feature Request #2557712 - Bjรถrn "Vampire" Kautler)
- Filename globs for matching edit modes now support specifying a full
path as glob with either "/" or "\" as path separator while "\" has
to be doubled as it is also the escape character for meta characters.
(Feature Request #2557712 - Bjรถrn "Vampire" Kautler)
- Syntax for Macro Scheduler (#3085538) (glen117)
- Additional mode for CPlex LP files (#3332052) (Kevin Hunter)
- PowerShell mode update (#3316284) (Jeremy)
- `elsif compiler directive added to verilog edit mode (#3261277)
(Matthieu Casanova)
- Fixed indentation in javacc edit mode that can fail if a token contains
"else" (Matthieu Casanova)
- Updated java edit mode among other things it now highlight special chars
like \n \uXXXX unicode, \t, \r in string literal (Matthieu Casanova)
- Factor Mode fix (#3100731 - Valeri Mytinski)
- Added new keywords to C# edit mode (patch #3120746 from nherzing,
Matthieu Casanova)
- New edit mode option: Elastic Tabstops. (Anshal Shukla + Shlomy Reinstein)
- Applied patch from Matthew Gilbert to add ability to increase/decrease line
spacing in the text area. (#3023134, Dale Anson)
- Added jflex edit mode (Matthieu Casanova)
- Added lex/flex edit mode (Matthieu Casanova)
- New mode for Oracle PL/SQL 11. (#3078863 - Diogo Kollross)
- Haxe mode update (Dion Amago # 3123602)
- Updated erlang mode and associated *.hrl to erlang language
(patch #3042398 from jclopes, Matthieu Casanova)
- Added coffee edit mode (patch #3173375 from Dennis Hotson, Matthieu Casanova)
- Added support for the newline character in electricKeys (Evan Wright)
}}}
{{{ UI
- Changes to the Look and Feel are now applied immediately without the need to
restart the application. (Bjรถrn "Vampire" Kautler)
- New VFS Browser action: "Open in desktop" (feature# 3406759) (Alan Ezust)
- jEdit has now a systray icon. It can be replaced by implementing the
org.gjt.sp.jedit.gui.tray.JEditTrayIcon service (feature #1657143)
(Matthieu Casanova)
- Ability to customize the browser context menu (feature #3354306)
(Matthieu Casanova)
- New Status bar widget to monitor task manager. (feature #3316561)
(Matthieu Casanova)
- Moved Default Line Separator Char from General to Encodings Option Pane.
- The Statusbar widget choice in global options has now a preview to see how
the status bar will look like (Matthieu Casanova)
- A new status bar widget is added to show the last modified time of the current
buffer (feature request #1551454 - Matthieu Casanova)
- The Macros menu can now be splitted if there are too many macros or
macro folders (#3172647 - Matthieu Casanova)
- Updated ColorWellButton to use the dialog provided by JColorChooser rather
than creating its own dialog since the JColorChooser dialog is much richer.
(Dale Anson)
- Filter field in PluginManager InstallPanel (#2810926 - Olivier Chafik)
- New View option: Floatable toolbars. (Alan Ezust)
- New TextArea Option: Choice of color ordering w/ subpixel antialiasing.
(#2989209 - Alan Ezust)
- In conjunction with the fix for tracker 3134215, added a new option to the
General options pane to let the user choose whether to restore the split
configuration. (Dale Anson)
- If jEdit doesn't have rights to save a buffer, the dialog doesn't display
an exception anymore, making the error message less dramatic.
(Matthieu Casanova)
}}}
{{{ Miscellaneous
- Debian repository metadata is now generated during normal build procedure.
(Bjรถrn "Vampire" Kautler)
- Ability to rename favorites. Renaming a favorite now only apply a label
on the favorite without modifying the target file (feature #3292159)
(Matthieu Casanova)
- VFS Browser jobs now use the new Task api (Matthieu Casanova)
- Global options now use properties to display options tree
(Matthieu Casanova)
- Update Java installer generated *nix launcher to be the same as the one in
the native *nix packages (Bjรถrn "Vampire" Kautler)
- Add some quotes and explicit variable markers to *nix launcher
(Bjรถrn "Vampire" Kautler)
- New property for the edit modes : contextInsensitive.
By default the value is false, but if set to true the color highlight of
a line of the buffer do not depends on the previous line. It works of course
only for modes that do not have multiline comments and no tokens that can be
on several lines (like literal in several languages)
This cause major performances improvement on buffers that use an edit mode
that is context insensitive.
The following modes are now context insensitive :
assembly-agc
assembly-ags
assembly-m68k
assembly-mcs51
assembly-parrot
assembly-r2000
assembly-x86
awk
cobol
csv
csv-commits
eiffel
foxpro
hex
htaccess
hxml
icon
ini
jmk
json
mqsc
outline
props
ptl
pvwave
rfc
rib
rpmspec
sip
splus
sqr
squidconf
svn-commit
text
vhdl
visualbasic
yab
- When editing a big file, a dialog will suggest to disable syntax
highlight or make it context-insensitive so that jEdit remains fast
(Matthieu Casanova)
- In mode syntax file, SPAN_REGEXP can now end with a regex
(patch #3162735 from Evan Wright, Matthieu Casanova)
- Dynamic softwrap. Now the softwrap margin is the minimum of the buffer wrap
guide and the max length displayable in the TextArea (patch #2846458 from
Suraj Kurapati, Matthieu Casanova)
- Added an option to search for entire words (patch #2842461 from encorejane,
Matthieu Casanova)
- Included the Windows launcher in the Java installer (Bjรถrn "Vampire" Kautler)
- Added a new menu item "New Macro" in Macros menu
(patch #2983607 from Damien Radtke, Matthieu Casanova)
- In search and replace when replacing by a BeanShell snippet, it is now
possible to use multiple statements instead of only one statement. To do
that, enclose your code in braces
(patch #3002207 from cy6erGn0m, Matthieu Casanova)
- Added a command line option "-nosplash" to avoid the splash screen
(Shlomy Reinstein).
- Minor optimization of TextAreaTransferHandler.canImport() method that
is called when dragging things on the textArea (Matthieu Casanova)
- Allow dragging files with data flavor type "text/uri-list" into jEdit. This
type is used by several file managers in Ubuntu. (Shlomy Reinstein)
- Enhance System, Look&feel, jEdit properties macros
(r19599, bug #1593358, Eric Le Lay)
}}}
}}}
jEdit buffer local properties:
:folding=explicit:collapseFolds=2: