Skip to content

Commit

Permalink
Tweak the spellchecking algorithm to handle case a bit more sensibly.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgiven committed Jan 13, 2025
1 parent f726a85 commit d3e635e
Show file tree
Hide file tree
Showing 3 changed files with 159 additions and 127 deletions.
267 changes: 147 additions & 120 deletions README.wg
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ WordGrinder dumpfile v3: this is a text file; diff me!
.documents.1.sticky_selection: false
.documents.1.sw: 2
.documents.1.viewmode: 1
.documents.1.wordcount: 4108
.documents.1.wordcount: 4107
.documents.2.co: 1
.documents.2.cp: 1
.documents.2.cw: 1
Expand All @@ -44,14 +44,14 @@ WordGrinder dumpfile v3: this is a text file; diff me!
.documents.2.sticky_selection: false
.documents.2.viewmode: 1
.documents.2.wordcount: 501
.documents.3.co: 5
.documents.3.co: 1
.documents.3.cp: 1
.documents.3.cw: 1
.documents.3.margin: 4
.documents.3.name: "User dictionary"
.documents.3.sticky_selection: false
.documents.3.viewmode: 2
.documents.3.wordcount: 173
.documents.3.wordcount: 194
.fileformat: 8
.findtext: "template"
.idletime: 3
Expand All @@ -70,6 +70,7 @@ WordGrinder dumpfile v3: this is a text file; diff me!
.menu.accelerators.ET: "^X"
.menu.accelerators.Eredo: "^Y"
.menu.accelerators.Eundo: "^Z"
.menu.accelerators.FO: "^O"
.menu.accelerators.FQ: "^Q"
.menu.accelerators.FS: "^S"
.menu.accelerators.HOME: "ZH"
Expand All @@ -93,6 +94,8 @@ WordGrinder dumpfile v3: this is a text file; diff me!
.menu.accelerators.SU: "^U"
.menu.accelerators.SUP: "ZSU"
.menu.accelerators.S^DOWN: "ZSNP"
.menu.accelerators.S^END: "ZSED"
.menu.accelerators.S^HOME: "ZSBD"
.menu.accelerators.S^LEFT: "ZSWL"
.menu.accelerators.S^PGDN: "ZSED"
.menu.accelerators.S^PGUP: "ZSBD"
Expand Down Expand Up @@ -139,13 +142,16 @@ WordGrinder dumpfile v3: this is a text file; diff me!
.menu.accelerators.^C: "EC"
.menu.accelerators.^DOWN: "ZNP"
.menu.accelerators.^E: "ZDW"
.menu.accelerators.^END: "ZED"
.menu.accelerators.^F: "EF"
.menu.accelerators.^G: "EG"
.menu.accelerators.^HOME: "ZBD"
.menu.accelerators.^I: "SI"
.menu.accelerators.^K: "EN"
.menu.accelerators.^L: "ECfind"
.menu.accelerators.^LEFT: "ZWL"
.menu.accelerators.^M: "ECadd"
.menu.accelerators.^N: "SO"
.menu.accelerators.^O: "SO"
.menu.accelerators.^P: "SP"
.menu.accelerators.^PGDN: "ZED"
Expand Down Expand Up @@ -188,7 +194,7 @@ LB typing CTRL+G will open this document’s table of contents.
P You can load and save files using the File menu. A Document Set is a file on disk. Each file can contain multiple Documents. Pay careful attention to whether WordGrinder is talking about Documents or Document Sets. There’s more information below.
P Some operations (applying character styles, cut and paste) require you to select text. There are two ways to do this:
LB you can create an ephemeral selection by holding down SHIFT and pressing (most) navigation keys; this is the way most other applications make selections.
LB you can set a mark by pressing CTRL+SPACE; then move the cursor normally. The selected text is between the mark and the cursor. Note that the mark are always placed on the left side of the cursor. Pressing CTRL+SPACE again will remove the mark.
LB you can set a mark by pressing CTRL+SPACE; then move the cursor normally. The selected text is between the mark and the cursor. Note that the mark are always placed on the left side of the cursor. Pressing CTRL+SPACE again will remove the mark.
P That’s it. Now you can work WordGrinder.
H2 Styles
H3 Character styles
Expand Down Expand Up @@ -405,153 +411,174 @@ LN Chinese (traditional): 我不知道。我只在這裡工作。
.
#3
P This is your user dictionary --- place words, one at a time, in V paragraphs and they will be considered valid in your document.
V wordgrinder
V unix
V ctrl+q
V esc
V file→quit
V top-left
V consolas
V full-screen
V ctrl+c
V alt+letter
V WordGrinder
V ESCAPE
V ESC
V CTRL+C
V RETURN
V Navigation
V ALT+letter
V submenu
V e.g
V alt+f
V ctrl+g
V ctrl+space
V style→italic
V ctrl+i
V style→underline
V ctrl+b
V style→plain
V ctrl+o
V ALT+F
V CTRL+G
V File
V Document
V Documents
V Sets
V SHIFT
V CTRL+SPACE
V Style→Italic
V CTRL+I
V Style→Underline
V CTRL+B
V Style→Plain
V CTRL+O
V unstyled
V ctrl+u
V style→paragraph
V ctrl+p
V style→set
V mode→show
V CTRL+U
V Style→Paragraph
V Styles
V CTRL+P
V Style→Set
V Margin
V Mode→Show
V Paragraph
V left-hand
V customisable
V html
V i'm
V file→manage
V non-wordgrinder
V ctrl+v
V ctrl+x
V ctrl+r
V wordgrinder's
V look-and-feel
V File→Global
V Settings→Change
V RAW
V File→Manage
V non-WordGrinder
V File→Save
V File→Create
V filename
V subdocuments
V Settings→Directories
V default.wg
V File→New
V CTRL+V
V CTRL+X
V CTRL+R
V WordGrinder's
V ncurses
V ctrl+arrow
V unknown_1234
V file→import
V utf-8
V opendocument
V odt
V CTRL+arrow
V UNKNOWN_1234
V File→Import
V UTF-8
V OpenDocument
V ODT
V h1..h4
V file→export
V libreoffice
V H1
V H4
V LB
V Markdown
V preformatted
V File→Export
V H2
V losslessly
V file→settings→html
V xetex
V File→Document
V Settings→HTML
V LaTeX
V XeTeX
V xelatex
V xunicode
V non-ascii
V non-ASCII
V H1..H4
V \section
V \subsection
V \subsubsection
V \paragraph
V tex's
V unicode
V TeX's
V Troff
V troff
V ascii
V nroff
V Non-ASCII
V \[char1234
V groff
V iso-8859-1
V ISO-8859-1
V \[u1234
V system-wide
V file→global
V wordgrinder
V --help
V --lua
V listmenuitems(
V overridekey(z
V overridekey(f1
V overridekey(f2
V x11_font
V linux
V shift+up/down
V ctrl+arrows
V shift+function
V --exec
V ListMenuItems(
V OverrideKey(Z
V ZM
V OverrideKey(F1
V D1
V OverrideKey(F2
V D2
V OSX
V SHIFT+UP/DOWN
V CTRL+arrows
V SHIFT+function
V TAB
V X11
V xfce4-terminal
V x11
V natively
V Terminus
V Use
V Option
V Terminal
V Preferences→Keyboard
V Homebrew
V Pro
V cut-and-paste
V rxvt
V cmd.exe
V cwordgrinder.exe
V OpenGL
V antialiased
V shift+ctrl+cursor
V unifont
V xft
V monospace
V x11_black_colour
V x11_dim_colour
V x11_normal_colour
V x11_bright_colour
V ffffff
V preferences-keyboard
V homebrew
V fullscreen
V titlebar
V alt+enter
V rebindable
V truetype
V monospaced
V dejavu
V http://dejavu.sourceforge.net/wiki/index.php/download
V edit→goto
V ctrl+z
V ctrl+y
V autosave
V natively
V SHIFT+CTRL+cursor
V ALT+ENTER
V Unifont
V Fantasque
V Mono
V Latin-ish
V Documents→Unicode
V Settings→Configure
V TTF
V xclipboard
V Edit→Goto
V CTRL+Z
V CTRL+Y
V Autosave
V timestamped
V file→settings→autosave
V filename
V Settings→Autosave
V autosaving
V autosaves
V right-to-left
V français
V arabic
V hebrew
V edit→scrapbook
V Français
V Edit→Scrapbook
V timestamp
V file→settings→scrapbook
V file→settings→page
V file→settings→widescreen
V file→settings→smart
V Settings→Scrapbook
V Settings→Page
V Settings→Look
V Feel
V backends
V black-and-white-and-grey
V src/lua/colours.lua
V Settings→Smart
V Edit→Smartquotify
V Edit→Unsmartquotify
V «you're
V french»
V French»
V American/Canadian
V wordlist
V Settings→Load
V Edit→Spellchecker→Add
V Edit→Spellchecker→Find
V scriptable
V lua
V Lua
V --lua
V filename.lua
V api
V wordgrinder.lua
V lua
V wordgrinder/startup.lua
V --convert
V sourcefile.wg
V destfile.odt
V i'll
V david
V Things
V Go
V [email protected]
V osx
V american/canadian
V british
V wordlist
V edit→spellchecker→find
V edit→spellchecker→add
V settings→load
V edit→unsmartquotify
V edit→smartquotify
V settings→widescreen
V file→document
V settings→html
V settings→autosave
V settings→scrapbook
V settings→page
V settings→smart
.
Loading

0 comments on commit d3e635e

Please sign in to comment.