TextStudio 0.0.641 Changelog
2007-08-31: Refinements to features and fixing bugs. Also applied some suggestions from Icey.
Interface
- Recent Files is now a modeless window.
Menus
- Edit > Delete now disabled when there is no selection.
- Edit > Insert Date now supports both the Find and Replace boxes.
Find/Replace Panel
- Resizing:
- Now saves height to and loads height from
textstudio.ini.- Repurposed the obsolete
find_heightsetting for this.
- Repurposed the obsolete
- Buttons now reflow with available height.
- Now saves height to and loads height from
- Using Edit > Find/Replace while focus is in a file:
- If text is selected in the file, the Find box is set to this text.
- All the text in the Find box is selected.
- Tweaked alignment and spacing.
- Made buttons wider so Find Previous has better spacing.
- Enabled OLE drag and drop for Find and Replace boxes.
- Find/Replace panel now resizes even in very small windows. Could be made more intelligent.
Status Bar
- Removed full stops from the end of status messages.
Formatting
- If no expansion is given for a new shortened term, Format > Inline HTML > Acronym and Format > Inline HTML > Abbreviation no longer add an empty
titleattribute. - Format > Block HTML > Paragraph now includes newlines when some text is selected and Format > End Tags is set to Omit Optional.
- Now uses plain text Copy and Paste even when RTF is available.
- Format > Inline HTML > Code, Format > Inline HTML > Sample Output and Format > Inline HTML > Keyboard Input now strip speechmarks to make marking up plain text faster.
Optimisation
List Boxes
- Created new
modListBoxsubprocedures:List_Remove()List_Up()List_Down()List_SelectAll()- Uses
.Visibleto suppress redraw and button enablement until selection is complete.
- Uses
- Migrated all current list code to above subprocedures in these forms:
- Apply To
- Filters
- Multi Open
- All Windows
- Recent Files
- Design-time heights now match the IDE grid.
Windows
- Initial size and position of each window uses a single call to
Form.Move().
File Handling
- Removed appending of current time when opening a file starting with
.LOG.
Bugs Fixed
Menus
- Toolbar and Window menu now updated after File > Close All.
Formatting
- Edit > Insert Date no longer adds a trailing space when a Normal format is used with (None) as the time portion.
- If no text is selected, Format > List HTML > List Item now generates one
<li>element.
Toolbar
- Corrected shortcut keys shown in tooltips.
Find/Replace Panel
- Find Next, Find Previous, Replace:
- Did not
.SetFocuswhen text was found in the next file.
- Did not
- Replace:
- Did not replace in next file when text was not found in current file.
- Replace All:
- Status bar count now correct when nothing replaced in current file.
- Statusbar n bytes selected text now suppressed during replacements.
- Only the active file was marked
Unsavedwhen it and other files were altered. - Active file was marked
Unsavedeven when no replacement made. - Now updates File > Save menu and Save toolbar button correctly.
- Resizing:
- Is now sized correctly if taller than 6 buttons at startup.
- Splitter width now stays in sync with panel width.
- Mnemonic access keys now work in files opened by drag and drop.
- Fixed infinite loop when pressing Delete key if no file open and panel visible.
- Edit > Insert Date will now insert dates into Find and Replace boxes.
Status Bar
- Edit > Paste text now displays n bytes pasted instead of n bytes copied.
Suggestions from Icey
Several of these issues were from bugs when no textstudio.ini file was present.
- Clicking the All Windows menu item no longer causes a run-time error.
- Inserting HTML affected by Format > End Tags setting no longer causes a run-time error.
- File > Close All now uses the shared toolbar and menu item enablement code.
- Also fixed some arithmetic so the shared code runs when only one file is open.
- The toolbar Find button now acts as a toggle, syncronised with the Find/Replace panel.
- Format > Fonts now displays the Font dialogue window without error message.
- File > Save All is now disabled in design time.
- Application no longer crashes when closing.
- Date and Time window no longer crashes when set to a small vertical height.
- Send to File button on Date and Time window now enabled only when a file is open.
- Hiding the Find/Replace panel no longer gives an error.
Setting()array now uses a named constant for each setting index and for each setting name.- Window > All Windows now populates list even if no preferences were loaded.