thomasthorsen / toks Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v2.0
License: GNU General Public License v2.0
On Windows, input filenames passed in via a file (or via stdin) using the -F option are modified so that backslash is converted to forward slash. Filenames given on the command line in the usual way are not modified. This should be made consistent (no conversion, use path as given).
When invoking toks with no arguments the usage information is printed, but it also creates an empty index file (TOKS). The index should only be created if needed.
When I try to look up a symbol using toks (after indexing the code) I get this error in the shell:
Traceback (most recent call last):
File "C:\Users\lbig\AppData\Roaming\Sublime Text 3\Packages\Toks\SublimeToks.py", line 269, in on_highlighted
view = sublime.active_window().find_open_file(match.group(1))
AttributeError: 'NoneType' object has no attribute 'group'
In spite of this, it pops up the result list, and when I then press the found result, I get this:
Traceback (most recent call last):
File "C:\Users\lbig\AppData\Roaming\Sublime Text 3\Packages\Toks\SublimeToks.py", line 269, in on_highlighted
view = sublime.active_window().find_open_file(match.group(1))
AttributeError: 'NoneType' object has no attribute 'group'
Traceback (most recent call last):
File "C:\Users\lbig\AppData\Roaming\Sublime Text 3\Packages\Toks\SublimeToks.py", line 259, in on_select
self.navigate_jump(self.pre_lookup_position, location)
File "C:\Users\lbig\AppData\Roaming\Sublime Text 3\Packages\Toks\SublimeToks.py", line 249, in navigate_jump
if self.is_history_empty() or not self.is_same_location(self.back_lines[0], source):
File "C:\Users\lbig\AppData\Roaming\Sublime Text 3\Packages\Toks\SublimeToks.py", line 212, in is_same_location
if match1.group(1) == match2.group(1) and \
AttributeError: 'NoneType' object has no attribute 'group'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.