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

Mark Text Preference #998

Closed
Jocs opened this issue May 1, 2019 · 6 comments
Closed

Mark Text Preference #998

Jocs opened this issue May 1, 2019 · 6 comments
Assignees
Labels
🦋 optimization Improve the existing behavior 🦄 feature request New feature or request
Projects

Comments

@Jocs
Copy link
Member

Jocs commented May 1, 2019

Mark Text Preferences

General

AutoSave: Boolean true of false

autoSaveDelay (#971)

Remember last typewriter and focus mode: Boolean #519

titleBarStyle: String csd(macOS only), custom or native

openFilesInNewWindow: Boolean true of false

aidou: Boolean true or false

keybindings

File Sort in folder: by created time, modifed time or title. #438

Start up options:

Language: (v0.17.0) #138 #308

Import and Export user setting file (json file).

subscription user need to input E-mail (v0.17.0)

Editor

Font Size: default is 16px and the range is 12px ~ 18px #264

editorFontFamily: default is Open Sans

lineHeight: default is 1.6 range is 1.2 ~ 2

autoPairBracket: Boolean

autoPairMarkdownSyntax: Boolean

autoPairQuote: Boolean

endOfLine: default lr crlf

textDirection: ltr or rtl

codeFontFamily: DejaVu Sans Mono

codeFontSize: default is 14px range is 12px ~ 18px

hideQuickInsertHint: Boolean

Image: paste and drag drop image action, select one: #627 #549 #97

  1. upload to cloud if user added his own image cloud.

  2. Special folder, we'll create a default folder and user can change it. support for setting up a base folder for locating markdown images #949

  3. relative path if file already saved to somewhere or absolute path.

If user insert image by input ![]() or shortcut, user can select one of above three action. #922

Move all or single images to the default folder or upload to cloud.

Markdown

preferLooseListItem: Boolean

bulletListMarker: default is -, you can also select * and +.

orderListDelimiter: default is . you can also select )

preferHeadingStyle: atx or setext

tabSize: 4space or another ?

listIndentation: dfm, tab or number 1~4.

Themes

Select the offical 6 themes.

Open the themes folder so you can modify the offical themes.(v0.16.0) notice user backup first. #902

Import Custom theme (a folder includes fonts file?)(v0.16.0) #959 #174

@Jocs Jocs self-assigned this May 1, 2019
@Jocs Jocs added 🦄 feature request New feature or request 🦋 optimization Improve the existing behavior labels May 1, 2019
@Jocs
Copy link
Member Author

Jocs commented May 1, 2019

@fxha I advanced Mark Text Preference to v0.15.0 because I found that many of the features of v0.15.0 are currently related to Mark Text Preference.

@fxha
Copy link
Contributor

fxha commented May 1, 2019

I think we should prefix the entries with the category like file, editor etc.

Remember last typewriter and focus mode: Boolean #519

Please note that this can be overwritten by a session, so we can use the settings as default/fallback values.

Import and Export user setting file

What do you mean? electron-store saves data as JSON file.

subscription user need to input E-mail

What do you mean?

Please add autoSaveDelay (#971) to the list, so that changes are saved after a short delay to improve performance. Do you plan to add "real" GUI settings in v0.15.0?

I think I can commit a WIP PR from main refactoring later or tomorrow. I think we have to rebase a lot if we working on both issues simultaneously.

@fxha fxha added this to To do in v0.15.x May 1, 2019
@Jocs
Copy link
Member Author

Jocs commented May 2, 2019

I think we should prefix the entries with the category like file, editor etc.

  • Now I divide the Mark Text Preference into four categories, universal, editor, markdown, theme, and the file you said should be markdown?

Import and Export user setting file

  • User can import a user setting file when he first download Mark Text? So Mark Text can use the imported setting, is it necessary?

subscription user need to input E-mail

  • Users subscribe to Mark Text, so they will receive a email when we release a new version or some big events.

Do you plan to add "real" GUI settings in v0.15.0?

  • Yes, after the existing PR merge, I will start this work.

I think I can commit a WIP PR from main refactoring later or tomorrow. I think we have to rebase a lot if we working on both issues simultaneously.

  • Great,I will first move the settings in the existing preference file to the new Mark Text Preference. Some new features will not be added for the time being. For example, Language, custom theme, etc., can not be used, the interface will be gray display, prompts the user that the feature is under develop.

@Jocs Jocs mentioned this issue May 3, 2019
12 tasks
@Jocs Jocs moved this from To do to Review in v0.15.x May 7, 2019
@fxha fxha moved this from Review to Done in v0.15.x May 15, 2019
@fxha
Copy link
Contributor

fxha commented Aug 10, 2019

@Jocs Please convert the list above in a task list to track missing features.

@renehummen
Copy link

@Jocs I would like to configure Mark Text such that the Sidebar and Tabbar always show up when opening a new window, i.e. as default behavior. Can this be added in the general section of the preferences as toggleable items?

@Jocs
Copy link
Member Author

Jocs commented Feb 16, 2020

@renehummen In the future, a new feature should be supported. Mark Text will remember the last closed state, so if the sideBar was displayed last time, then the sideBar is displayed again when newly open Mark Text.

@Jocs Jocs closed this as completed Jan 16, 2022
mitchcapper added a commit to mitchcapper/marktext that referenced this issue Mar 15, 2022
By default returns the user to the same scroll position on a document where they left off (except if changed to code editing before switching back, or vice versa). Only saved in memory could be added to future session saves for marktext#998.
mitchcapper added a commit to mitchcapper/marktext that referenced this issue Mar 15, 2022
By default returns the user to the same scroll position on a document where they left off (except if changed to code editing before switching back, or vice versa). Only saved in memory could be added to future session saves for marktext#998.
mitchcapper added a commit to mitchcapper/marktext that referenced this issue Mar 16, 2022
By default returns the user to the same scroll position on a document where they left off (except if changed to code editing before switching back, or vice versa). Only saved in memory could be added to future session saves for marktext#998.
mitchcapper added a commit to mitchcapper/marktext that referenced this issue Mar 16, 2022
By default returns the user to the same scroll position on a document where they left off (except if changed to code editing before switching back, or vice versa). Only saved in memory could be added to future session saves for marktext#998.
mitchcapper added a commit to mitchcapper/marktext that referenced this issue Mar 16, 2022
…croll calculation

By default returns the user to the same scroll position on a document where they left off (except if changed to code editing before switching back, or vice versa). Only saved in memory could be added to future session saves for marktext#998.
mitchcapper added a commit to mitchcapper/marktext that referenced this issue Mar 16, 2022
By default returns the user to the same scroll position on a document where they left off (except if changed to code editing before switching back, or vice versa). Only saved in memory could be added to future session saves for marktext#998.
mitchcapper added a commit to mitchcapper/marktext that referenced this issue Mar 16, 2022
By default returns the user to the same scroll position on a document where they left off (except if changed to code editing before switching back, or vice versa). Only saved in memory could be added to future session saves for marktext#998.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🦋 optimization Improve the existing behavior 🦄 feature request New feature or request
Projects
No open projects
v0.15.x
  
Done
Development

No branches or pull requests

3 participants