Update docs and development version

This commit is contained in:
No Time To Play 2022-12-10 08:28:40 +00:00
parent 360faced41
commit aea7361779
3 changed files with 24 additions and 12 deletions

14
NEWS.md
View File

@ -1,5 +1,19 @@
# Scrunch Edit news
## Version 2.2 (unreleased)
Ported to Tcl/Tk.
### Added
* Application icon
* Full screen toggle (only in Tcl/Tk version)
* Console toggle (only in Tcl/Tk version)
### Fixed
* Font size key combos were reversed.
## Version 2.1 (2 November 2022)
Backported some improvements from AntiWiki 1.3

View File

@ -5,7 +5,7 @@ Often a text editor is more than enough to handle even long, complex documents.
Scrunch Edit is a two-pane outliner with as many main goals:
- support popular markup formats such as Org Mode and Markdown;
- fit in a single Python script, to be easily copied and modified.
- fit in a single file, to be easily copied and modified.
It otherwise acts much like a simple text editor.
@ -24,9 +24,9 @@ Recommended screen resolution: 800x600.
## Status
Scrunch Edit 1.x is complete as of 27 November 2021.
Scrunch Edit 2.1 is the current version as of 2 November 2022.
Scrunch Edit 2.x is the new current version. See the changelog for details.
A Tcl/Tk port is in progress as of December 2022, with an eye towards making it run on Windows and Android.
## Usage notes

View File

@ -44,7 +44,7 @@ else:
about_text = """
A two-pane outliner
Version 2.1 (2 November 2022)
Version 2.1a (10 December 2022)
MIT License
"""
@ -646,13 +646,13 @@ def unfold_all():
def make_font_bigger():
global font_size
if font_size > min_font_size:
font_size -= 1
font_size += 1
editor.configure(font="Courier " + str(font_size))
def make_font_smaller():
global font_size
if font_size < max_font_size:
font_size += 1
font_size -= 1
editor.configure(font="Courier " + str(font_size))
def reset_font():
@ -912,9 +912,8 @@ top.bind("<Control-period>", lambda e: fold_all())
top.bind("<Control-comma>", lambda e: unfold_all())
top.bind("<Control-less>", lambda e: fold_all())
top.bind("<Control-greater>", lambda e: unfold_all())
top.bind("<Control-minus>", lambda e: make_font_bigger())
top.bind("<Control-plus>", lambda e: make_font_smaller())
top.bind("<Control-equal>", lambda e: make_font_smaller())
top.bind("<Control-minus>", lambda e: make_font_smaller())
top.bind("<Control-equal>", lambda e: make_font_bigger())
top.bind("<Control-Key-0>", lambda e: reset_font())
top.bind("<Command-e>", lambda e: select_preface())
@ -922,9 +921,8 @@ top.bind("<Command-period>", lambda e: fold_all())
top.bind("<Command-comma>", lambda e: unfold_all())
top.bind("<Command-less>", lambda e: fold_all())
top.bind("<Command-greater>", lambda e: unfold_all())
top.bind("<Command-minus>", lambda e: make_font_bigger())
top.bind("<Command-plus>", lambda e: make_font_smaller())
top.bind("<Command-equal>", lambda e: make_font_smaller())
top.bind("<Command-minus>", lambda e: make_font_smaller())
top.bind("<Command-equal>", lambda e: make_font_bigger())
top.bind("<Command-Key-0>", lambda e: reset_font())
top.protocol("WM_DELETE_WINDOW", handle_quit)