-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
define default for the options in the Config manager
default can be undone by the inverse of the original command: e.g.: noscroll, undo by: scroll tsort, undo by: notsort etc Fixes #97 - inverse commands are ignored in the defaults (because this are already the defaults) - skipns and skipfile have already separated config options (skip_index and skip_file) in the Config manager
- Loading branch information
Showing
4 changed files
with
141 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7c39bb3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would have set a no- prefix to avoid issue if you get an option starting with "no", like nonbreakingspace or normal or note, etc.
7c39bb3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding a small text saying the syntax in defaultoptions field is the same as options in the marker would be nice.
7c39bb3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean that you would prefer e.g.
navbar
with the undo option:no-navbar
?That is inconsistent with the already longer existing
noscroll
which has as undo optionscroll
I don't like a mix of
no-...
andno...
.When new options are added that start with
no...
we have maybe than a problem, sofar these don't exist, so I don't care ;)I prefer simplicity for now.
I don't understand where to add that text. And what do you mean by 'marker'?
7c39bb3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't prefer. It is just a warning on how you detect the negation.
About the text: just in thepanel below, like you did for the explanation of plugin»indexmenu»headpage
marker => markup tag
7c39bb3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see @samuelet has already fixed that missing text in the configuration manager. Nice.
When you update your indexmenu plugin, an setting description will appear.