TextStudio 0.0.489 Changelog
2006-09-10: Changes since undocumented release on 2006-06-14.
Formatting
- Format > List HTML > Automatic updated:
- Remove trailing tabs and leading whitespace more thoroughly from and maybe elsewhere?
- Looks for bullet chars and other potential list item markers when removing list garbage (and Unicode bullets?).
- Format > Attribute Marks submenu of toggles added. Can now use no marks, speechmarks or quote marks in HTML formatting.
- Format > List HTML > Automatic menu added:
- Assumes one
<dd>and one<dt>for each entry. - Starts with one
<dt>.
- Assumes one
- Prevented RTFBox automatic formatting from keyboard combinations.
- Added label attribute to Format > Form HTML > Group of Items markup.
- Format > Block HTML > Paragraph no longer adds a newline when no text was selected.
- Format > List HTML > List Item will now remove Firefox copy-pasted item garbage, as well as any ordinal decimal number.
- Does smarter automated reformatting when text is selected (removes garbage char from MS Word list items).
- Added Format > HTML Entities > Escape Selected Character menu and tested it.
- Whitespace handling in Format > HTML menus:
- Wrote the
TrimWhitespace()function to strip whitespace from itemised HTML. - Ignores empty lines and lines of whitespace when itemising.
- Wrote the
- Format > HTML Entities > Escape Non-ASCII bugfixed and made more robust.
- Format > Table HTML > Automatic written to autoformat tab-delimited cells on newline-seperated rows.
- Format > HTML Entities > Escape Non-ASCII Characters created and tested.
- Format > HTML Entities > Escape Non-ASCII In All Files created and tested.
- Refined processing and generation of whitespace in Format > ... HTML ... functions.
- Stopped Format > To ...case functions changing case of entire document when no text was selected.
- Format > ... HTML ... functions only generate optional ending tags when Format > Include Optional Tags is ticked.
- Format > Include Optional Tags tickable menu added and integrated with INI settings.
- Removed end tag from markup generated by Format > Inline HTML > Image menu.
- Enabling and disabling of Format > To Title Case (Simplified) menu.
- Enabling and disabling of Format > HTML ... menus.
- Added Format > Form HTML items.
- Added Format > To Title Case (Simplified) function. Doesn’t recognise initialisms, Mc prefixes in surnames, etc.
- Added Format > Custom HTML > Poetry menu.
- Added Format > Inline HTML > Defining Instance (
<dfn>) item. - Format > HTML Entities > [Surround with] ... items now generate correct entities.
- Format > HTML Entities > Escape HTML Operators added to convert <, > and & into entities.
- Format > HTML Entities > Curly Apostrophe now produces the correct character entity.
- Added Format > Custom HTML > Code Sample and refined Custom HTML insertion.
- Added Format > Inline HTML > Code and ensured accelerator keys don’t clash.
- Format > Font and Format > Word Wrap are now available when no files are open.
- Format > HTML Entities now has items for surrounding selected text with common entity pairs.
- Format > Custom HTML > ... generates good HTML (LOL!).
- Changed caption of Format > Inline HTML > Text Input (
<kbd>) to Keyboard Input (<kbd>) - Format > HTML ... functions will add markup if no text is selected.
- Made Format > Block HTML > Paragraph use a form of list itemising.
- Added and tested Format > Table functions.
- Fixed Format > Block HTML functions when no text is selected.
- Added simple Format > ...Case functions.
- Added Format > HTML options.
File Handling
- File > New now uses a counter to create a logical filename each time.
- Get command line opening of files completely rewritten and bulletproofed.
- File > Open now allows multiple selection.
- File > Duplicate now generates a unique file name e.g.
Copy (5) of handling.cfg:- Centralised file duplication code in
GetCopyOfFilename()function. - Implemented a thorough algorithm which includes currently open windows and files on disc in parent folder:
- Search TextStudio windows for highest copy name.
- Once found (or the default Copy of assumed if no copie found), increment that by one.
- If it is saved to a folder on the hard drive, get a list of all files that folder.
- Check this list for any even higher copies.
- The resulting highest copy of all this is then incremented by one and returned. :)
- Centralised file duplication code in
- File > Recent Files > ... is now updated when files are saved with File > Save As.
- File > Duplicate uses first unused file and can do numbers, e.g. Copy (5) of handling.cfg.
- When duplicating a file, first available Copy of filename should be used.
- When duplicating a duplicate, next available name is used (increment copy number).
- File > Open starts with most recent file when no files are currently open.
- File > Duplicate should copy current file contents, not reload it.
- File > Save As now updates the list of open windows in the Window menu.
- Opening files from
frmRecentnow updates filesize panel. - File > Open dialogue always starts in parent folder of active file.
- File > Reload always updates filesize panel.
- Initial directory for File > Open dialogue. (Doesn’t seem broken?)
- Sped up File > Close All code by removing DoEvents on every file closure.
- Removed Ready. message from completion of Open Files from
frmMultiOpenform. - File > Duplicate bug fixes when file being copied doesn’t exist; refinements to naming of copied file.
- File > Reload problems when file didn’t exist.
- File > Duplicate errors fixed. OpenRunning flag is very useful!
- File > Duplicate coded and given shortcut.
Interface
- Ctrl+A and Invert Selection have been refined:
- [De]Select All and Invert Selection code have each been moved to a subprocedure.
- Ctrl+A Runs [De]Select All no matter what item is selected when form only has one list.
- Ctrl+A selects current control when form has multiple controls capabable of [De]Select All.
- Form controls are disabled while list items are being selected or deselected by either subprocedure.
- Paste controls are updated on
rtfBox_SelChange()becauseForm_Activateevent doesn’t work as I need it to. - Added Ctrl+C for copying items from lists.
- Kept Ctrl+A detection for lists because the hidden context menus don’t get activated by keyboard input.
- Disabling/enabling of context menu items for lists upon right-click before the menu is displayed.
- Added context menus to lists:
- Include Copy, Invert Selection, [De]Select All context menu items.
- Used a hidden menu to each form where I want to do this (they need slightly different code anyway).
- Select All button for lists now becomes Deselect All when all items are selected.
- Double-clicking files in
frmMultiOpenandfrmRecent. - Ctrl+A selects all items in ListBox, TextBox and ComboBox controls.
Other
- Statusbar updates:
- Ctrl+A no longer causes # items copied to clipboard. message.
- Multiselect lists display selected items in main statusbar when they update.
- Rechecks Find this; text on every Find Next.
- Moved the Determine how many files are open: code to a module function which returns the value.
- Created
UpdateFileSizePanel()function. - Move itemised list markup formatting to
FormatAsList()function. - Fixed TextStudio losing focus when exiting
frmFind,frmReplaceandfrmGoto. - Applied
TrimSpacesAndTabs()function to other markup. Paragraphs, bits of tables, etc. - Wrote
TrimSpacesAndTabs()function to remove spaces and tabs. Applied to lists. - Move Determine if any file is active to a
modChildCodefunction. - Tidied list double-click code.
- Modernising
frmRecent,frmFilters,frmDateandfrmApplyTo(seems complete). - Using backspace to delete characters does not update statusbar.
- Status bar now recognises cancelled common dialogues. (Roughly.)
- Turn off
AutoRedrawwhile resizing objects. - Window > Sort By Name status text.
- Window > Sort By Name in menu.
- Edit > Delete Line enablement code.
- Edit > Delete Line allows individual
vbCrandvbLfas well asvbCrLfpairs.
Bugs Fixed
- Error 5 bugs from
rtfBox.SetFocuswhich should be solved now:- Error: Format > To Title Case; caused fatal error 5 when several windows were open.
- Error: Just switched back to TS. Active file was activated upon switching back, other file was previously active:
- Upon using Shift+F4; to close all files, error occurred after closing first file.
- Messagebox then asked if I should save the second file.
- Fixed Error 5 caused by
SetFocus()clashing with modal child forms in Form_Active. - Fixing broken code which was exosed by removing
On Error Resume Next:Form_Resizefixed when form is minimised.- Didn’t seem to be anything else left.
- First Edit > Copy operation does not wipe clipboard without copying content.
- Made list context menus more robust.
frmMultiSaveno longer duplicates itemss which have an identical names.- Edit > Replace counting fixed. I had
: Count = 1after I declared it which isn’t necessary now. - Edit > Cut does not wipe the clipboard even when nothing is selected:
- Was a problem when moving from file to file, which is now fixed.
frmFindandfrmReplacenow count number of files to be searched correctly.- Fixed opening of files from command line when no speechmarks are used.
- Fixed Format > HTML functions when whitespace is included at end of selections which end with newlines.
- Prevent resize code running if form is minimised.
- Fixing cancelling of
modToolsCode.ApplyFontdialogue window. - Fixed error with reading empty files.
frmSettingsgrid updating onForm_Resize.