You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-7Lines changed: 12 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,8 @@ A small text editor written in Python running on PYBoard and WiPy, allowing to e
7
7
- Use USB_VCP/Telnet or UART for input and output.
8
8
- Changed the read keyboard function to comply with slow byte-by-byte input on serial lines.
9
9
- Added support for Tab, BackTab, Save, Del and Backspace joining lines, Find, Replace, Goto Line, Undo, Get file, Auto-Indent, Set Flags, Copy/Delete & Paste, Indent, Un-Indent
10
-
-handling tab (0x09) on reading & writing files,
11
-
- Added a status line, line number column and single line prompts for
10
+
-Handling tab (0x09) on reading & writing files,
11
+
- Added a status line, and single line prompts for Quit, Save, Find, Replace, Goto, Get file and Flag settings.
12
12
- Support of the basic mouse functions scrolling up/down and setting the cursor (not WiPy).
13
13
14
14
The editor assumes a VT100 terminal. It works in Insert mode. Cursor Keys, Home, End, PgUp, PgDn, Del and Backspace work as you would expect. The additional functions like FIND etc. are available with Ctrl-Keys. On reading files, tab characters are expanded to spaces with a tab size of 8, and trailing white space on a line will be discarded. The orginal state of tabs will not be restored when the file is written. Optionally, tabs can be written when saving the file, replacing spaces with tabs when possible. The screen size is determined, when the editor is started or when the Redraw-key (Ctrl-E) is hit.
@@ -19,7 +19,6 @@ The editor works also well in a Linux or MAC terminal environment, with both pyt
19
19
20
20
- pye.py: Source file with comments and code for PyBoard, WiPy and Linux micropython/python3. Runs on PyBoard as well, but the file size is much larger than the stripped down version.
21
21
- pye2.py: a variant of pye.py which does not change the cursor column during vertical moves.
22
-
- pye3.py: a variant of pye.py which tries to keep the cursor column during vertical moves as good as possible.
23
22
- Pyboard Editor.pdf: A short documentation
24
23
- README.md: This one
25
24
- pe.py: Condensed source file for PyBoard with all functions
@@ -29,7 +28,7 @@ The editor works also well in a Linux or MAC terminal environment, with both pyt
29
28
a) find_in_file() supporting regular expressions,
30
29
b) line_edit() supporting the cursor left/right/home/end keys, and
31
30
c) expandtabs() and packtabs() with a second argument for tabsize (not for pye, but maybe useful)
32
-
- strip.sh: sample Shell script which creates the different variants out of pye.py using cpp
31
+
- strip.sh: sample Shell script which creates the different variants out of pye.py using cpp, including variants of wipye.py with either speed up scrolling or support replace or support got bracket.
33
32
34
33
**Short Version History**
35
34
@@ -118,6 +117,12 @@ c) expandtabs() and packtabs() with a second argument for tabsize (not for pye,
118
117
119
118
**1.11** Minor fixes
120
119
- 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).
121
-
- Save file to a temporary file first, and rename it to the target name when successfully written.
122
-
- Lazy screen update: defer screen update, until all chars from the keyboard are processed.
123
-
- Use os.unlink() instead of os.remove(), because remove is not suported by unix micropython
120
+
- Save to a temporary file first, and rename it to the target name when successfully written.
121
+
- Lazy screen update: defer screen update, until all chars from the keyboard are processed. Not provided for WiPY, even if needed there most. WiPy has no way to tell if more chars are waiting in the input or at least a read with timeout.
122
+
123
+
**1.12** Bracket Match and Minor changes
124
+
- 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.
125
+
- On Copy the mark will be cleared, since it is assumed that the just copied lines will not be overwritten.
126
+
- Ctrl-A at least toggles autoindent in the minimal version.
127
+
- 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.
0 commit comments