diff options
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | ranger/api/commands.py | 1 | ||||
-rw-r--r-- | ranger/ext/command_parser.py | 1 |
3 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile index 6c5ed88c..30a92220 100644 --- a/Makefile +++ b/Makefile @@ -75,4 +75,7 @@ cleandoc: snapshot: git archive --prefix='$(NAME)-$(VERSION)/' --format=tar HEAD | gzip > $(SNAPSHOT_NAME) -.PHONY: default options compile clean doc cleandoc snapshot install man +todo: + @grep --color -Ion '\(TODO\|XXX\).*' -r ranger + +.PHONY: default options compile clean doc cleandoc snapshot install man todo diff --git a/ranger/api/commands.py b/ranger/api/commands.py index 093e93da..ca8b5fad 100644 --- a/ranger/api/commands.py +++ b/ranger/api/commands.py @@ -141,6 +141,7 @@ class Command(FileManagerAware): def tabinsert(self, word): return ''.join([self._tabinsert_left, word, self._tabinsert_right]) + # XXX: Lazy properties? Not so smart? self.line can change after all! @lazy_property def _tabinsert_left(self): try: diff --git a/ranger/ext/command_parser.py b/ranger/ext/command_parser.py index 3b65067c..8bb72c76 100644 --- a/ranger/ext/command_parser.py +++ b/ranger/ext/command_parser.py @@ -16,6 +16,7 @@ import re SETTINGS_RE = re.compile(r'^([^\s]+?)=(.*)$') +# TODO: complete the merge of this into api/commands class LazyParser(object): """Parse commands and extract information""" def __init__(self, line): |