Releases: robert-hh/Micropython-Editor
Releases · robert-hh/Micropython-Editor
Collected minor fixes
- Make Indent/Un-Indent optional in the WiPy version, to allow all variants to get compiled w/o running out of memory. Even the, it's not Undo-able. The final code saving is just a few hundred bytes, so it's still not clear to me why these few extra lines dont't fit.
- Making the MOUSE support a seperate option, which can also be chosen for WiPy
- Added a flag to pye2 such that it supports both vertical cursor movement types
- Removed the extra indent after ':' as the last char on the line. More confusing than helpful.
- If open file names a directory, the list of files is loaded to the edit buffer. Doing that, replace the name '.' by the result of os.getcwd(), avoiding error 22 of stat() call on PyBoard and WiPy
- Ctrl-V in line edit mode inserts the first line of the paste buffer
- Moved error catching one level up to the function pye(), catching load-file errors too.
- Fixing a glitch which added an extra line when un-doing the deletion of all lines
- use uos.stat with micropython, since os.stat is not supported on linux-micropython
Support simultaneous editing of multiple files
2.0 Simultaneous editing of multiple files
- Support for simultaneous editing of multiple files and copy/paste between them
- Ctrl-W steps through the list of files/buffers
- Ctrl-O opens a new file/buffer.
1.12d Split undo of Indent/Un-Indent
1.12d Split undo of Indent/Un-Indent
- Split undo for Indent and Un-Indent
- Fixed a minor inconvenience when going left at the line start (squeezed too much in v1.12b)
- Move a few lines around, such that keys which are more probable for fast repeats are checked for earlier.
- Some editorial changes
This is the last version which is restricted to editing a single file at a time. The next one will allow editing multiple files.
Removed speed block introduced in V1.11
1.12c Removed speed block introduced in V1.11
- Speed up pasting again. Slowing down pasting was caused by a in-function import statement, introduced in V1.11
- Squeezing another few lines out of the source code by combining two functions, which were anyhow called one after the other, resulting in a enormous long function handling the keyboard input.
Fixing an inconsistency in the Save command
1.12b Fixing an inconsistency in the Save command
- Fixing an inconsistency in the Save command, which caused the change flag being reset when just writing a block of lines.
- Squeezed a few lines out of the source code.
Added Goto Matching Bracket
1.12 Bracket Match and Minor changes
- Ctrl-K causes the cursor set to the matching bracket, if any. Pretty raw, not elegant. Brackets in comments and strings are counting as well.
- On Copy the mark will be cleared, since it is assumed that the just copied lines will not be overwritten.
- High level try/except catching internal errors (e.g. coding errors)
- Separate cpp options for including scroll optimization, replace or bracket match into the minimal version. Changes in strip.sh script to generate the minimal wipye version too.
- Some editorial changes and fixign of tyops.
1.11 Minor fixes
1.11 Minor fixes
- Change the way a marked area is highlighted from reverse to a different background color. That works well for black chars on yellow background (code 43). For white chars on black background, the setting for background color in the function hilite() has to be changed, e.g. to blue (code 44).
- Save file to a temporary file first, and rename it to the target name after successful write.
- Lazy screen update: defer screen update, until all chars from the keyboard are processed. Not available for WiPy
Further improvement of Mark
1.10 Further improvement of Mark
- When the mark is set, the whole area affected is now highlighted instead of just the line with the mark.
- Paste, Delete and Backspace now also take notice of the line Mark. You can Mark a line range and delete it (or cut it). Implicit deleting marked lines when pressing the Enter or character key was considered but rejected (easy - just 3 lines of code).
- Except for Delete, Backspace, Cut and Paste, Mark has to be toggled off when not needed any more.
- Right click (Button 2) or Ctrl-Click on the mouse sets/unsets the Mark, left Click extends it, when set.
Clean Copy & Paste, Indent, Un-Indent
Clean Copy & Paste, Indent, Un-Indent
- Added a Mark Line key for Line Delete, Line Copy, Indent and Un-Indent
- Changed Line Delete, Line Copy and Buffer Insert into a cleaner Copy & Paste mode
- Added a cleaner Indent and Un-Indent method; available for WiPy too
- Removed the attempt to recover from out-of-memory situations: did not work.
- Still runs on WiPy, but really at it's limit
Size reduction for WiPy & Tabbify for PyBoard
- Reduced KEYMAP in the WiPy version by omitting entries, where the function code is identical to the key value (e.g. \x08 -> 8)
- Adding a "Tabbiy" behaviour for the full version. Tab/Backtab with the cursor at col 1 indents/unindents the line and moves the cursor one line down.