taskwiki/taskwiki
Tomas Janousek 30058188ac vwtask: Refactor apply_defaults
5bf0c89ae8 left a misleading comment in
the code:

                # If port was detected, break the search

            break

Refactor the code to make it clearer what's going on: we're looking for
the first parent header/preset/viewport of this task, and therefore we
always break. By separating the search and processing of the found
header/preset/viewport, we avoid the confusion.

Related: https://github.com/tools-life/taskwiki/pull/288
2020-08-02 17:52:55 -04:00
..
.gitignore Restructure the whole plugin 2015-03-12 22:49:56 +01:00
__init__.py Restructure the whole plugin 2015-03-12 22:49:56 +01:00
cache.py extra-syntaxes: Initialize syntax during TaskCache object initialization 2018-10-18 01:00:29 -04:00
constants.py Fix priority field in sort order 2020-07-12 09:54:58 -04:00
decorators.py Fixed bug that cursor reset when after TaskWikiBufferSave/Load 2017-06-23 11:29:16 +02:00
errors.py errors: Use method wrappers instead of global exceptionhook 2016-12-22 17:47:19 +01:00
main.py replace deprecated base64.decodestring 2019-03-18 17:00:21 -04:00
preset.py Modified preset to use cache.markup_syntax 2018-10-18 01:00:29 -04:00
regexp.py regexp: Fix empty viewport filters in markdown 2020-07-02 09:51:56 -04:00
short.py fix python 3.8 error about "is not" with literal 2019-11-16 22:55:37 -05:00
sort.py util: Implement and use get_var helper instead of manually decoding variables 2017-01-08 18:58:14 +01:00
store.py Add new header type "Preset Header" 2018-07-17 21:53:18 -04:00
util.py fixed another is not 2019-12-01 15:11:43 -05:00
viewport.py Modified viewport's parse_line to use cache.markup_syntax to select markup 2018-10-18 01:00:29 -04:00
vwtask.py vwtask: Refactor apply_defaults 2020-08-02 17:52:55 -04:00