Commit graph

54 commits

Author SHA1 Message Date
dfe075b11c editor: Add overwriting mode
- Using latest version of fill3 that recognizes the insert key.
2022-01-28 19:42:55 +10:00
5c0d44df2e Update TODO and BUGS 2022-01-28 15:48:10 +10:00
6254e77275 Coding style
- Remove unnecessary scroll limiting code. Its now done in the
  portal.
2022-01-27 16:57:16 +10:00
9ea41f1181 Update TODO 2022-01-24 23:14:59 +10:00
c419f69d81 editor: Right align left editor using scroll limited portal 2022-01-24 23:10:44 +10:00
972e6144fc editor: Editor is not normally right aligned 2022-01-22 17:17:25 +10:00
9f4d13cd20 Put scrollbars on the side of screen, not middle.
- Left editor's vertical scrollbar on the left
2022-01-21 10:34:07 +10:00
2504dd0cff Right align the left editor 2022-01-21 09:20:57 +10:00
f8a3fc0bff editor: Show a normalized path in header bar
- This generally keeps the path as given but simplifies it if possible.
2022-01-18 18:42:04 +10:00
a4b9c4f61f Update version from v2022.01.03 to v2022.01.18. 2022-01-18 17:01:15 +10:00
dad2a59bca Coding style
- Rename appearance_min to appearance.
2022-01-18 16:37:17 +10:00
45af588792 Coding style
- Rename appearance to appearance_for.
2022-01-18 16:32:58 +10:00
d9e95c1485 editor: Fix all lines to have same background width 2022-01-17 22:22:16 +10:00
b92429f487 Update TODO and BUGS 2022-01-14 14:31:15 +10:00
d57b5a5a9a editor: Correctly syntax highlight based on file type.
- If a file type isn't recognized by pygments, don't syntax highlight.
2022-01-14 11:01:11 +10:00
2876aab6c8 editor: Let ctrl-z also mean undo
- ctrl-z was free and many people would try for ctrl-z first.
2022-01-14 10:06:42 +10:00
0c7f5272ae editor: Not currently using asyncio debug mode. 2022-01-13 21:32:33 +10:00
4dc97d0b9a editor: Don't ring bell during tests 2022-01-13 19:29:27 +10:00
38706e89d4 editor: Remove blanket catch of IndexError in tests
- Occurs when the cursor tries to move out of bounds.
2022-01-13 19:25:18 +10:00
ac340dd0ca editor: Ring bell when trying to move cursor out of bounds.
- At the start or end of file.
2022-01-13 14:34:47 +10:00
8b24095d63 editor: Use bell sound.
- Ring bell when no more changes to undo, or when aborting command.
2022-01-13 14:09:55 +10:00
1a71188944 Update TODO 2022-01-13 14:00:56 +10:00
3faa0539ce editor: Fix undo command
- Undo needs a ctrl-underscore key which is in the latest fill3.
2022-01-13 13:28:45 +10:00
0497a8f7a9 editor: Add the abort command
- For now it only unsets the current selection.
2022-01-13 13:25:00 +10:00
3c1e34ca5e Coding style.
- The temporaries don't save lines anymore.
2022-01-13 08:26:13 +10:00
bc32e358a1 editor: Add basic undo command. 2022-01-13 00:51:04 +10:00
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