TextStudio 0.0.670 Changelog
2007-09-16: More optimisations and bug fixes. Apply To window is now a popup.
Interface
- Active window is now ticked in Window menu.
- Controls are no longer disabled before operations then enabled afterwards.
Find/Replace Panel
- Apply To button is now a sticky command button.
Apply To Window
- Now works like a popup:
- Removed caption and fancy borders.
- ListBox borders are used as window borders.
- Plain borders are drawn around the rest.
- Position:
- Bottom touches top of Apply To button.
- Right alignes with right of Apply To button.
- Size:
- Height matches number of items, stopping when it reaches top of screen.
- Width matches widest path, stopping when it reaches left of screen.
- Uses a minumum height so all buttons are visible.
- Uses a minimum width for list.
- Tidied and optimised the list population code.
- Window is cancelled if you give focus to something else.
Optimisation
textstudio.exewas 484kB. Is now 428kB, a saving of 56kB!- Date and Time control values moved to design time saved 16kB.
- Apply To resizing cleanup saved 16kB.
- Switching to dedicated string functions saved 8kB.
- Simplified all references to active file.
ClipControlsis now set toFalsefor faster rendering of controls.- Streamlined all
Form_Resize()prevention checks.
Data Types
- Variant functions replaced by their string counterpart:
Left$()Right$()Mid$()Trim$()
- The 104 preference index constants are now an
Enum. This enables Ctrl+Space autocompletion.
Date and Time Window
- Simplified code for updating controls.
- Control values which never change are now set in design time.
Bug Fixes
- Multiple Save now lists files after the active file.
Recent Files Window
- No longer crashes when displayed after having been closed via the OK or Cancel button:
- There was an
UpdateControls()call taking place afterUnload Me.
- There was an
- Number of files opened now shown correctly in status bar.
- No longer crashes if all selected files failed to open.
Find/Replace Panel
- Buttons now get disabled when final file is closed individually.
- Statusbar gets updated when Ctrl+A is used in Apply To list.
Formatting
- Delete Line now works when
LFis used alone or is mixed withCRLF. - Blogged the GetLinePointers() rewrite as an example of syntax highlighting in HTML.
- Removed
ApplyDeleteLine(). - Format > Form HTML > Label only adds newlines if some text is selected.