This page covers the changes that were made between version 4.69 and 4.68 of StrongED.
Behind the scenes
- Altered the memory transfer code to prevent aborts on the BeagleBoard.
- Moved more dialogue box related code to the Dialogues source file.
- Altered initialisation of dboxes so code can be shared with MenuWarning.
- Moved all checks performed on null events to new source file NoReason.
- Moved code to create menus to a separate source file called MakeMenus.
- Moved code that dynamically reformats text to separate source file.
- Sanitised building of menus, to prevent code duplication.
- Removed dead code from click_throwback.
- Slightly more efficient PathMatch_Type.
- Renamed StrongED_Export$Dir to StrongED$ExportDir
- Renamed StrongED_Scrap$Dir to StrongED$ScrapDir
- Renamed StrongED_Settings$Dir to StrongED$SettingsDir.
- GSTrans() no longer calls SetTmp itself, so it's in-line with other functions
- Sanitise colour handling, getting rid of RO 2 style stuff.
- Rewrote Syco_Overwrite and Syco_Expand, they're a lot nicer now.
- Made ClipToBuffer, BlockToBuffer, MouseToBuffer, WordToBuffer separate functions.
- Removed commented out code for case (in)sensitive matches from Search module.
- Refactored the CreateView subroutine, cascading views are now back.
Bugs fixed
- Saving a ModeFile caused global expressions to be lost which could lead to aborts.
- Colour of left border wasn't correct when printing in graphics mode.
- Dragging a free block (alt-drag selection) to another application or filer window failed with an Abort on data transfer.
- Pop-up menu from Global and Mode choices now tick the selected item immediately so the correct items are ticked when Adjust is used.
- The bitmap and outline font menu didn't reflect changing the font, they kept showing the font that was set when Mode Choices was opened.
- Clicking on Remember in the Quit dialogue didn't autosave changed files if the option 'By default, remember files when quitting' was off.
- Dragging lines from an Obey file to a TaskWindow didn't work beyond the first line.
- Open the mode choices on a textfile, then close the textfile and open a new one. Clicking on the drop-down menus in the colours section will caused an abort. (Mode Choices now closes if the file from which it was opened is closed.)
- Search & ReplaceAll could fail if the search patterns used '<' and included \n.
- Clicking in Dump mode didn't place the caret in the correct column.
- Doubleclicking close to a slider led to rapid to and fro scrolling.
- cs-H would cause an abort when there were no texts at all.
- Clicking on a toolbar icon could abort when there was no view with input focus.
- Fastchars redraw in 1,2,4 bpp had multi-coloured dots in linespacing.
- Requesting clipboard content via file transfer aborted on BB/ARMini.
- Multiple wrap characters (' -.,') at end of line tripped up wordwrap.
- Switching mode could abort if the new mode used a different wrapwidth.
- Split view didn't work correctly if the view had a horizontal scrollbar. The code also used hardwired values for width/height of window furniture.
- Block sensitivity didn't work for the Save dialogue box hanging off the view menu.
- Block sensitivity didn't work for the Print dialogue box at all.
- Advanced search with 'Start of line only' would abort under some conditions.
- Trying to fold a selection (cs-KpMinus) would cause StrongED to hang.
- Opening the Info window from the iconbar menu would crash on ARMv7.
- Dragging to select text could abort on views with no toolbar.
- Commenting out all lines in a ClickList section, but not the actual ClickList itself, would result in an abort when clicking in a text.
- Switching modes would claim input focus, which can be annoying.
- ChangeMode() didn't work as intended when no parameters were given.
Improvements
- Added 'Cancel' button the 'Save to UserPrefs' query box (RO 3.5+)
-
- Searching in Dump mode will now search the raw binary when in the file is displayed in Byte/Word/ASCII. Searches in ASM display still disassemble the instructions first and look through the resulting string. Note that the LoF will still list the disassembled string even when searching in Byte/Word/ASCII mode.
-
- LoW now deals with 20 views at a time instead 1 by 1, much faster when there are many views.
-
- Added 'Close' option to LoW, closes LoW views saving them first if modified.
- SetTmp now also sets StrongED$Tmp_WriteDir, points to where choices are saved.
- SetTmp now also sets StrongED$Tmp_Filename, holds full filename of text. Shorter to use than . .
- Maximum length of shortcuts increased to 15 (from 7).
- S&R-All stopped when it encountered a locked text, now only stops if a replace occurs.
-
- Added option to make newlines visible.
- New function HelpBaseMode to open BaseMode's manual.
- Much improved support for outline fonts. Ctrl codes and Tabs are now allowed.
- Extended Goto dbox, can now go to logical line, physical line, address/file offset.
- New function CycleGotoType, allows goto target type to be changed using keyboard.
- New function ScrollText, scrolls text in the direction given with caret remaining stationary, supersedes LineUp & LineDown functions.
- New advanced search tokens, '<<' & '>>' and '<<<' & '>>>' for start/end paragraph and start/end of text respectively.
- Added a half-word (16 bits) display option to Dump mode.
- Clicking Adjust on adjuster arrows now does the opposite of Select.
- Pop-up menus open immediately to the right of their associated icon.
- Pressing c-O in the Search/Replace dialogue activates 'Old' button.
- Shade menu item 'View menu -> Edit -> Goto block' when there's no selection.
- Shade menu item 'View menu -> Block -> Send to caret' when there's no selection.
- Two new search constructs: '\(' and '\{'. Search for matching bracket skipping brackets in comments and strings. Search continues after the closing bracket.
- Filestypes &AA5 (TskBasic) and &9FB (Basalt) are now recognised as BASIC and detokenised on loading.
- All Dialogue boxes now use standard colour when they have input focus.
- GotoBracket has been rewritten, it no longer uses syntax colouring. Stops it from opening folds when looking for the matching bracket.
- Activated scroll-events for LoF/Throwback so you can scroll using the mouse scroll-wheel on RISC OS 5.
ModeFile changes