TextStudio 0.0.712 Changelog
2007-10-28: Lots of code cleanup with performance gains and reduced size of textstudio.exe. Bug fixes and interface improvements, too.
Opening Files
- New parser to get paths from strings:
- Supports more delimiting conventions.
- More lenient with what it accepts.
- Returns the number of valid paths.
- New subprocedure to manage updating the interface afterwards:
- Updates menus and toolbars.
- Simpler status bar text which still gives useful detail.
- Applied to:
- Command line.
- File > Open.
- Dropping files.
- Recent Files window.
- Recent Files menu list.
- Drag and drop:
- Files will now be opened when dropped on more places:
- Toolbar.
- Sidebar.
- Find/Replace panel, except text boxes.
- Status bar.
- Caption of open files.
- Files will now be opened when dropped on more places:
- Faster creation of new windows, especially if many are already open.
Open Many Window
- Configure frame is now called Search for Files.
- Folder now uses Alt+D to get focus, like an address bar.
Saving Files
- New system to save files from windows:
- Uses an array of window IDs.
- Multiple selection lists via
SaveFilesFromList(). - All currently unsaved files via
SaveAllFiles().
- Applied to:
- File > Save.
- File > Save As.
- File > Save All.
- Window > All Windows.
- If a file being saved doesn’t exist:
- Gives focus to that file, so user can view it.
- Displays the Save As dialog.
- Only files flagged as currently unsaved get saved.
- Combined
UpdateSaveAll()withUpdateSave().
Interface
- File > Recent Files:
- All Recent Files no longer has Shift+Ctrl+O as its shortcut:
- Alt+F, F, F is faster and all on the left hand.
- Now updates only when the File menu is clicked.
- All Recent Files no longer has Shift+Ctrl+O as its shortcut:
- Paste controls now get updated when other Edit controls do:
- Edit > Cut was not updating Paste before this.
- Properties key now shows the context menu in file windows.
- File > New now updates Edit > Paste.
- Save menu and toolbar button are now updated after opening a file.
- Now uses hourglass cursor while files are being opened.
- Removed obsolete
GetValidPathsFromString()function. - Toolbar button keys are now referred to using constants instead of string literals.
Find/Replace
- Functions which run from Alt+Letter even when panel is hidden:
- Find Next
- Find Previous
- Replace
- Replace All
- Apply To bug fixes:
- Now displays if Files sidebar has updated recently.
- Now displays if file has only just been loaded.
- Now lets user add active file to the Apply To list.
- Now closes reliably when it loses focus.
- Toolbar button is now a proper toggle button:
- No longer flickers when pressed down.
- Does not pop up when another toolbar button is used.
- Width of panel is now calculated reliably.
- Ctrl+F now toggles the panel or selects the Find box reliably.
- Delete now works with selected text in Find or Replace boxes when no files are open.
Formatting
- Format > Form HTML > Textbox no longer includes an empty value attribute.
- Native Undo now supported by Format > Entities > Escape Non-ASCII.
- Escaping of HTML tokens no longer converts
>into>. - New line creation reviewed for all HTML formatting features and adjusted for many.
NormaliseNewlines()returns its result which fixes several features.
Form HTML Fixes
- Dropdown, Group of Items, Option and MultiSelect List now work again.
Table HTML Fixes
- Table Row added 2 new lines even when nothing is selected.
- Caption was adding new lines before end tag.
- Header Section and Body Section no longer add two blank lines when nothing is selected.
- Automatic deleted the selected text.
Lists
- Shortcut keys now shown for these context menu items:
- Copy
- Ctrl+C
- Remove
- Del
- Select All
- Ctrl+A
- Invert Selection
- Shift+Ctrl+A
- Ctrl+C no longer changes which files are selected.
- Copy updates status bars correctly.
- The list in Recent Files now gets initial focus.
- Ctrl+Shift+A now operates Invert Selection.
- Properties key now displays context menu:
- Groundwork is in place to position it relative to list instead of cursor.
- No longer crashes when displaying context menu for empty list.
List_Remove()now selects item where first selected item was.Removed a SortList()procedure which was not needed.- Removed a
SortArray()procedure which was not needed.