Commit graph

28 commits

Author SHA1 Message Date
ea1f729b06 Coding style.
- Having a seperate line for every subtest ensures the traceback
  contains the right line number.
2022-01-12 12:09:22 +10:00
a167f54c43 Make key code couples slightly clearer. 2022-01-11 18:10:37 +10:00
c319762c4b Allow editing of one file by itself 2022-01-11 10:11:10 +10:00
6bb8befb2b editor: Stop using sub-tests.
- Sub-tests were hard to use because the traceback doesn't
  include the line number within the test method.
2022-01-10 13:45:28 +10:00
2c873cc914 editor: Add corner cases for comment_lines. 2022-01-10 10:58:20 +10:00
975d13594e editor: Add command to comment lines 2022-01-08 17:11:07 +10:00
9cd9fff96c editor: Add tab alignment command 2022-01-08 10:59:29 +10:00
cd88668f17 Coding style.
- Use a key map like in the editor.
2022-01-07 18:25:29 +10:00
51bfa36a5d Coding style.
- Remove all commented out code.
2022-01-07 18:08:58 +10:00
c3763d730b Correct key bindings in usage. 2022-01-07 18:03:13 +10:00
401005ee3a editor: Fix scrolling crash. 2022-01-07 17:55:16 +10:00
8818c16a56 Recent pip is needed in any case. 2022-01-07 11:31:05 +10:00
a23049c0f4 Its best to install from the tip.
- Installing from the latest tag misses the latest fixes and features.
2022-01-07 11:25:54 +10:00
5e23b974f7 editor: Add delete line command. (ctrl-k) 2022-01-07 11:15:30 +10:00
c66f79ea3d editor: Add delete key. 2022-01-07 09:27:29 +10:00
3d08b74b61 Try adding warning emoji to README. 2022-01-05 08:22:04 +10:00
541d541dbf Stop line number display jiggling.
- Made space for column position up to 999.
2022-01-04 11:02:36 +10:00
99339680de Coding style.
- All attributes should be in the __init__.
- Fixed a traceback when pressing ctrl-c as first key.
2022-01-04 10:52:38 +10:00
5e2657c46d Update TODO and BUGS. 2022-01-04 10:00:42 +10:00
d8fe0d73a5 Quit the editor with ESC or (ctrl-x, ctrl-c). 2022-01-04 09:21:16 +10:00
e7a4addd77 Disable ctrl-c and ctrl-z special behaviour. 2022-01-04 08:36:10 +10:00
ffdf4f3d86 Coding style.
- Consistently use 'with' with open.
2022-01-04 01:10:22 +10:00
4f2e31482b Save the editor with ctrl-x, ctrl-s. 2022-01-04 00:11:59 +10:00
1626197c8f Stop ctrl-s from freezing diff-edit. 2022-01-03 23:31:59 +10:00
6ead932543 Update version from v2022.01.01 to v2022.01.03. 2022-01-03 19:28:10 +10:00
732d68b16a Don't let the cursor go behind the bottom scrollbar. 2022-01-02 23:01:44 +10:00
d6705d55bc Coding style.
- Change to a max line length of 100.
2022-01-01 21:38:40 +10:00
bbe73eff21 Initial commit. 2022-01-01 17:37:20 +10:00