From c4b0ee7b9ee910b9883944c2b7fb21b65f3efb67 Mon Sep 17 00:00:00 2001 From: rekkabell Date: Wed, 11 Dec 2024 15:22:48 -0500 Subject: [PATCH] * --- site/left.html | 98 ++++++++++++++------------------------- site/left_electron.html | 76 ++++++++++++++++-------------- src/inc/left.htm | 98 ++++++++++++++------------------------- src/inc/left_electron.htm | 76 ++++++++++++++++-------------- 4 files changed, 148 insertions(+), 200 deletions(-) diff --git a/site/left.html b/site/left.html index fedd14140..fd72dcc28 100644 --- a/site/left.html +++ b/site/left.html @@ -49,12 +49,9 @@

left

  • Tutorial
  • Rename
  • Snarf
  • -
  • Leaping through the text
  • Finding a word
  • -
  • Director
  • -
  • Counter
  • +
  • Directory
  • Saving
  • -
  • Line break
  • @@ -63,7 +60,7 @@

    left

    Left is graphical plain-text editor written in Uxntal. Left doesn't do much, but packs many useful features in a tiny 13kb rom.

    -

    It supports Uxntal syntax highlight, proportional text, inline images and the snarf buffer. The alt key is used as a LEAP key to navigate the body of the text. This version is updated regularly.

    +

    It supports Uxntal syntax highlight, proportional text, inline images and the snarf buffer. This version is updated regularly.

    To view the documentation for the former version of Left, see left electron. Both the Uxn and Electron versions are available on itch.io.

    @@ -86,19 +83,36 @@

    Getting Started

    Controls

    -
    alt + mouse2
    find from top
    -
    ctrl + mouse2
    cut and find
    -
    backspace/delete
    erase
    -
    escape
    deselect
    -
    arrow
    move
    -
    ctrl + up
    next label
    -
    ctrl + down
    prev label
    -
    ctrl + left
    end of line
    -
    ctrl + right
    start of line
    -
    alt + left
    next word
    -
    alt + right
    prev word
    -
    shift + arrow
    scale selection
    +
    ctrl + n
    new
    +
    ctrl + r
    rename
    +
    ctrl + o
    open
    +
    ctrl + s
    save
    +
    ctrl + p
    send
    +
    ctrl + b
    build
    +
    ctrl + q
    exit
    +
    ctrl + c
    copy
    +
    ctrl + v
    paste
    +
    ctrl + s + v
    paste binary
    +
    ctrl + x
    cut
    +
    backspace
    erase
    +
    delete
    delete
    +
    ctrl + /
    go to directory
    +
    ctrl + enter
    go to selection
    +
    ctrl + t
    strip
    +
    ctrl + i
    trim
    +
    ctrl + y
    clip
    +
    ctrl + j
    join
    +
    tab
    tab
    +
    s + tab
    untab
    +
    ctrl + tab
    select word
    +
    ctrl + g
    select symbol
    +
    s
    select line start
    ctrl + a
    select all
    +
    escape
    select reset
    +
    ctrl + f
    find selection
    +
    ctrl + h
    View hint
    +
    ctrl + spc
    Symbol
    +
    ctrl + l
    Categories

    Tutorial

    @@ -119,51 +133,15 @@

    Snarf


    -

    Leap

    - -

    The alt key is used as a LEAP key(YouTube) to navigate the body of the text.

    - -
    - -

    Finding a word

    -

    Finding a word is done by holding down the alt key, and typing characters, and releasing alt to jump. Alternatively, you can select a word with mouse2, and jump to the next instance with mouse3.

    - -
    -
    1
    select character
    -
    2
    select word
    -
    3
    find
    -
    +

    Find multiple occurences of a word by selecting one, and pressing ctrl + f. A menu will appear on the left side showing the various occurences of the selected word, scroll through the list using alt + (up or down)arrows. To leave the word finding mode press escape.


    Directory

    -

    A listing of the files in the active directory can be seen by the sequence ctrl + r del , a file from that listing can be opened by the sequence mouse2 ctrl + g.

    - -
    -
    ctrl + n
    new
    -
    ctrl + s
    save
    -
    ctrl + o
    open
    -
    ctrl + g
    open selection
    -
    ctrl + r
    rename
    -
    ctrl + c
    copy
    -
    ctrl + v
    paste
    -
    ctrl + x
    cut
    -
    ctrl + h
    toggle syntax
    -
    ctrl + f
    toggle font
    -
    - -
    - -

    Counter

    - - - -

    At the top right corner of the window, there are 4 sets of digits (can be either numbers, or letters). Depending on what is selected, this number will mean different things.

    - -

    If moving forward or backward with the arrow keys, the number will indicate the position of the cursor and of the character in the window. If selecting a bit of text, the number will count up the number of characters in the selection.

    +

    A listing of the files in the active directory can be seen by the sequence ctrl + /. To open a file, select a word and press ctrl + enter.


    @@ -173,15 +151,7 @@

    Saving a file

    To save a file, press ctrl + s.

    -

    At the top left corner of the window is a diamond shape, it changes color to indicate whether or not you have unsaved changes.

    -
    - -

    Linebreak

    - - - -

    If you skip a line, a diamond shape will mark the line break.

    - +

    At the top left corner of the window is a diamond shape, it changes color to indicate whether or not you have unsaved changes. Teal means unsaved, black means saved.


    De-evolved Lefbit diff --git a/site/left_electron.html b/site/left_electron.html index 4fcd46b63..570e323a0 100644 --- a/site/left_electron.html +++ b/site/left_electron.html @@ -61,7 +61,7 @@

    download

    Both the Uxn and Electron versions are available on itch.io.

    - +Download Left

    tutorial

    Launch the app. You'll see a main window, as well as a sidebar on the left. You'll be writing in the main window, the sidebar will list all of the markers and separate files that you create.

    @@ -72,28 +72,32 @@

    tutorial

  • V for vocabulary
  • C for character.
  • +

    As you write, these numbers will increase and you'll know exactly how many lines, words, characters and unique words there are in your text. These stats are followed by a percentage to show you where you are in the text, with 0% indicating the beginning, and 100% the end - this is useful when writing large texts.

    creating a new file

    -

    Create a new file with ⌘ n (most of the shorts using 'command' combined with a letter or other character).

    -

    The main window will now be empty. If you look on the sidebar you will see the splash listed, you can return to it by selecting it or by using ⌘ ] and ⌘ [.

    -

    The file you created, by default is named 'untitled', you can rename it by saving the file using ⌘ n.

    + +

    Create a new file with ⌘ + n (most of the shorts using 'command' combined with a letter or other character).

    +

    The main window will now be empty. If you look on the sidebar you will see the splash listed, you can return to it by selecting it or by using ⌘ + ] and ⌘ + [.

    +

    The file you created, by default is named 'untitled', you can rename it by saving the file using ⌘ + n.

    importing an existing file

    -

    Open a text file by dragging it over Left, or using the shortcut ⌘ o. You can close a file, by pressing ⌘ w.

    + +

    Open a text file by dragging it over Left, or using the shortcut ⌘ + o. You can close a file, by pressing ⌘ + w.

    writing

    To better organize your text, you can create markers by beginning lines with:

    -

    # or ##

    +

    # or ##

    Using these will list them on the sidebar in different ways.

    The markers will be listed under your document name on the side bar, and whichever other document that you create will be listed underneath everything.

    -

    Once you have more than one marker, you can cycle through them using ⌘ ].

    +

    Once you have more than one marker, you can cycle through them using ⌘ + ].

    features

    +

    Left has many built-in features to help you write more efficiently, these include:

    -

    Synonyms - The synonyms of every word, appear on the bottom of the main window, you can cycle through the synonyms of a selected word by keeping shift pressed down, and then pressing tab to cycle through them. When you release the keys, the word will be replaced with the selected word. You can undo this change with ⌘ z.

    -

    Autocomplete - You can press tab to auto-complete a previously used, or common, word.

    -

    Speed reader - to use it highlight some text and press ⌘ k to enable it. Press escape to stop it.

    +

    Synonyms - The synonyms of every word, appear on the bottom of the main window, you can cycle through the synonyms of a selected word by keeping shift pressed down, and then pressing tab to cycle through them. When you release the keys, the word will be replaced with the selected word. You can undo this change with ⌘ + z.

    +

    Autocomplete - You can press tab to auto-complete a previously used, or common, word.

    +

    Speed reader - to use it highlight some text and press ⌘ + k to enable it. Press escape to stop it.

    -

    You can leave insert mode by pressing the escape key.

    +

    You can leave insert mode by pressing the escape key.

    - + -

    You can cycle between 3 fonts, using ⌘ < or ⌘ >. The font size can also be increased and decreased using ⌘ - and ⌘ +.

    +

    You can cycle between 3 fonts, using ⌘ + < or ⌘ + >. The font size can also be increased and decreased using ⌘ + - and ⌘ + +.

    shortcut quick list

    diff --git a/src/inc/left.htm b/src/inc/left.htm index a1bb9f918..15050d6e3 100644 --- a/src/inc/left.htm +++ b/src/inc/left.htm @@ -4,12 +4,9 @@
  • Tutorial
  • Rename
  • Snarf
  • -
  • Leaping through the text
  • Finding a word
  • -
  • Director
  • -
  • Counter
  • +
  • Directory
  • Saving
  • -
  • Line break
  • @@ -18,7 +15,7 @@

    Left is graphical plain-text editor written in Uxntal. Left doesn't do much, but packs many useful features in a tiny 13kb rom.

    -

    It supports Uxntal syntax highlight, proportional text, inline images and the snarf buffer. The alt key is used as a LEAP key to navigate the body of the text. This version is updated regularly.

    +

    It supports Uxntal syntax highlight, proportional text, inline images and the snarf buffer. This version is updated regularly.

    To view the documentation for the former version of Left, see {left electron}. Both the Uxn and Electron versions are available on itch.io.

    @@ -41,19 +38,36 @@

    Getting Started

    Controls

    -
    alt + mouse2
    find from top
    -
    ctrl + mouse2
    cut and find
    -
    backspace/delete
    erase
    -
    escape
    deselect
    -
    arrow
    move
    -
    ctrl + up
    next label
    -
    ctrl + down
    prev label
    -
    ctrl + left
    end of line
    -
    ctrl + right
    start of line
    -
    alt + left
    next word
    -
    alt + right
    prev word
    -
    shift + arrow
    scale selection
    +
    ctrl + n
    new
    +
    ctrl + r
    rename
    +
    ctrl + o
    open
    +
    ctrl + s
    save
    +
    ctrl + p
    send
    +
    ctrl + b
    build
    +
    ctrl + q
    exit
    +
    ctrl + c
    copy
    +
    ctrl + v
    paste
    +
    ctrl + s + v
    paste binary
    +
    ctrl + x
    cut
    +
    backspace
    erase
    +
    delete
    delete
    +
    ctrl + /
    go to directory
    +
    ctrl + enter
    go to selection
    +
    ctrl + t
    strip
    +
    ctrl + i
    trim
    +
    ctrl + y
    clip
    +
    ctrl + j
    join
    +
    tab
    tab
    +
    s + tab
    untab
    +
    ctrl + tab
    select word
    +
    ctrl + g
    select symbol
    +
    s
    select line start
    ctrl + a
    select all
    +
    escape
    select reset
    +
    ctrl + f
    find selection
    +
    ctrl + h
    View hint
    +
    ctrl + spc
    Symbol
    +
    ctrl + l
    Categories

    Tutorial

    @@ -74,51 +88,15 @@

    Snarf


    -

    Leap

    - -

    The alt key is used as a LEAP key(YouTube) to navigate the body of the text.

    - -
    - -

    Finding a word

    -

    Finding a word is done by holding down the alt key, and typing characters, and releasing alt to jump. Alternatively, you can select a word with mouse2, and jump to the next instance with mouse3.

    - -
    -
    1
    select character
    -
    2
    select word
    -
    3
    find
    -
    +

    Find multiple occurences of a word by selecting one, and pressing ctrl + f. A menu will appear on the left side showing the various occurences of the selected word, scroll through the list using alt + (up or down)arrows. To leave the word finding mode press escape.


    Directory

    -

    A listing of the files in the active directory can be seen by the sequence ctrl + r del , a file from that listing can be opened by the sequence mouse2 ctrl + g.

    - -
    -
    ctrl + n
    new
    -
    ctrl + s
    save
    -
    ctrl + o
    open
    -
    ctrl + g
    open selection
    -
    ctrl + r
    rename
    -
    ctrl + c
    copy
    -
    ctrl + v
    paste
    -
    ctrl + x
    cut
    -
    ctrl + h
    toggle syntax
    -
    ctrl + f
    toggle font
    -
    - -
    - -

    Counter

    - - - -

    At the top right corner of the window, there are 4 sets of digits (can be either numbers, or letters). Depending on what is selected, this number will mean different things.

    - -

    If moving forward or backward with the arrow keys, the number will indicate the position of the cursor and of the character in the window. If selecting a bit of text, the number will count up the number of characters in the selection.

    +

    A listing of the files in the active directory can be seen by the sequence ctrl + /. To open a file, select a word and press ctrl + enter.


    @@ -128,15 +106,7 @@

    Saving a file

    To save a file, press ctrl + s.

    -

    At the top left corner of the window is a diamond shape, it changes color to indicate whether or not you have unsaved changes.

    -
    - -

    Linebreak

    - - - -

    If you skip a line, a diamond shape will mark the line break.

    - +

    At the top left corner of the window is a diamond shape, it changes color to indicate whether or not you have unsaved changes. Teal means unsaved, black means saved.


    De-evolved Lefbit diff --git a/src/inc/left_electron.htm b/src/inc/left_electron.htm index 86c9e24fc..0e2dcbe12 100644 --- a/src/inc/left_electron.htm +++ b/src/inc/left_electron.htm @@ -16,7 +16,7 @@

    download

    Both the Uxn and Electron versions are available on itch.io.

    - +Download Left

    tutorial

    Launch the app. You'll see a main window, as well as a sidebar on the left. You'll be writing in the main window, the sidebar will list all of the markers and separate files that you create.

    @@ -27,28 +27,32 @@

    tutorial

  • V for vocabulary
  • C for character.
  • +

    As you write, these numbers will increase and you'll know exactly how many lines, words, characters and unique words there are in your text. These stats are followed by a percentage to show you where you are in the text, with 0% indicating the beginning, and 100% the end - this is useful when writing large texts.

    creating a new file

    -

    Create a new file with ⌘ n (most of the shorts using 'command' combined with a letter or other character).

    -

    The main window will now be empty. If you look on the sidebar you will see the splash listed, you can return to it by selecting it or by using ⌘ ] and ⌘ [.

    -

    The file you created, by default is named 'untitled', you can rename it by saving the file using ⌘ n.

    + +

    Create a new file with ⌘ + n (most of the shorts using 'command' combined with a letter or other character).

    +

    The main window will now be empty. If you look on the sidebar you will see the splash listed, you can return to it by selecting it or by using ⌘ + ] and ⌘ + [.

    +

    The file you created, by default is named 'untitled', you can rename it by saving the file using ⌘ + n.

    importing an existing file

    -

    Open a text file by dragging it over Left, or using the shortcut ⌘ o. You can close a file, by pressing ⌘ w.

    + +

    Open a text file by dragging it over Left, or using the shortcut ⌘ + o. You can close a file, by pressing ⌘ + w.

    writing

    To better organize your text, you can create markers by beginning lines with:

    -

    # or ##

    +

    # or ##

    Using these will list them on the sidebar in different ways.

    The markers will be listed under your document name on the side bar, and whichever other document that you create will be listed underneath everything.

    -

    Once you have more than one marker, you can cycle through them using ⌘ ].

    +

    Once you have more than one marker, you can cycle through them using ⌘ + ].

    features

    +

    Left has many built-in features to help you write more efficiently, these include:

    -

    Synonyms - The synonyms of every word, appear on the bottom of the main window, you can cycle through the synonyms of a selected word by keeping shift pressed down, and then pressing tab to cycle through them. When you release the keys, the word will be replaced with the selected word. You can undo this change with ⌘ z.

    -

    Autocomplete - You can press tab to auto-complete a previously used, or common, word.

    -

    Speed reader - to use it highlight some text and press ⌘ k to enable it. Press escape to stop it.

    +

    Synonyms - The synonyms of every word, appear on the bottom of the main window, you can cycle through the synonyms of a selected word by keeping shift pressed down, and then pressing tab to cycle through them. When you release the keys, the word will be replaced with the selected word. You can undo this change with ⌘ + z.

    +

    Autocomplete - You can press tab to auto-complete a previously used, or common, word.

    +

    Speed reader - to use it highlight some text and press ⌘ + k to enable it. Press escape to stop it.

    -

    You can leave insert mode by pressing the escape key.

    +

    You can leave insert mode by pressing the escape key.

    - + -

    You can cycle between 3 fonts, using ⌘ < or ⌘ >. The font size can also be increased and decreased using ⌘ - and ⌘ +.

    +

    You can cycle between 3 fonts, using ⌘ + < or ⌘ + >. The font size can also be increased and decreased using ⌘ + - and ⌘ + +.

    shortcut quick list