Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[F] Support for letter-ordered lists #1148

Closed
Airgunster opened this issue Feb 15, 2019 · 8 comments

Comments

@Airgunster
Copy link

commented Feb 15, 2019

Expected behaviour

Letter-ordered lists are recognized, i.e. if you press ENTER after A) it will automatically create B),

Examples,

A) Text
B) Text
C) Text
a) Text
b) Text
c) Text
(a) Text
(b) Text
(c) Text
A. Text
B. Text
C. Text
a. Text
b. Text
c. Text

Actual behaviour

Not implemented, i.e. if you press ENTER after A) it just insert empty line.

Steps to reproduce

Type A) and press ENTER.
Type a) and press ENTER.
Type (A) and press ENTER.
Type (a) and press ENTER.

Relevant log output in the Log panel

Expand

Information about the application, settings and environment

Expand

QOwnNotes Debug Information

General Info

Current Date: Fri Feb 15 11:06:00 2019
Version: 19.2.3
Build date: Feb 10 2019
Build number: 4148
Platform: macosx
Operating System: macOS 10.14
Build architecture: x86_64
Current architecture: x86_64
Release: Travis CI
Qt Version (build): 5.12.0
Qt Version (runtime): 5.12.0
Portable mode: no
Settings path / key: /Users/user/Library/Preferences/com.pbe.QOwnNotes.plist
Application database path: /Users/user/Library/Application Support/PBE/QOwnNotes/QOwnNotes.sqlite
Application arguments: /Applications/QOwnNotes.app/Contents/MacOS/QOwnNotes
Qt Debug: 0
Locale (system): en_IE
Locale (interface): empty
Icon theme: breeze-qownnotes
Notes in current note folder: 293
Enabled scripts: 0

@pbek pbek added the enhancement label Feb 15, 2019

@pbek

This comment has been minimized.

Copy link
Owner

commented Feb 15, 2019

Thank you for your suggestion.

@pbek

This comment has been minimized.

Copy link
Owner

commented Aug 23, 2019

Ordered lists are actually done in markdown like this:

1.  Bird
2.  McHale
3.  Parish

There are no letter-ordered lists in general markdown.

@pbek

This comment has been minimized.

Copy link
Owner

commented Aug 23, 2019

19.8.8

  • added support for automatic numbering and indentation of ordered lists
    • if you press Enter after 1. a list item you will get a 2. in the next line
    • if you press Enter after 1. it will remove the current line
    • if you press Tab after 1. it will indent the current line
    • if you press Shift + Tab after 1. it will un-indent the current line

@pbek pbek added this to the 19.8.8 milestone Aug 23, 2019

pbek added a commit that referenced this issue Aug 23, 2019
@pbek

This comment has been minimized.

Copy link
Owner

commented Aug 23, 2019

There now is a new release, could you please test it and report if it works for you?

@rakekniven

This comment has been minimized.

Copy link
Contributor

commented Aug 26, 2019

Hey, great feature!

Will give it try tomorrow.
Missed it last friday ;-)

@pbek

This comment has been minimized.

Copy link
Owner

commented Aug 29, 2019

Did it work for you, @rakekniven? 😃

@rakekniven

This comment has been minimized.

Copy link
Contributor

commented Aug 30, 2019

19.8.8

* added support for **automatic numbering and indentation of ordered lists**
  
  * if you press Enter after `1. a list item` you will get a `2. ` in the next line
  * if you press Enter after `1. ` it will remove the current line
  * if you press Tab after `1. ` it will indent the current line
  * if you press Shift + Tab after `1. ` it will un-indent the current line

Tested it and works like expected. 👍

@pbek

This comment has been minimized.

Copy link
Owner

commented Aug 30, 2019

Perfect, thank you!

@pbek pbek closed this Aug 30, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.