diff options
author | 2011-02-03 20:53:09 -0500 | |
---|---|---|
committer | 2011-02-03 20:53:09 -0500 | |
commit | 6c2fe3e4cedb105024d7674732de43166046e311 (patch) | |
tree | ab4bb372ca847d395ec2c43e9548f80841646cbe | |
parent | ac73b9105d1812e20149506aefe8c4e0579b3126 (diff) | |
download | textadept-6c2fe3e4cedb105024d7674732de43166046e311.tar.gz textadept-6c2fe3e4cedb105024d7674732de43166046e311.zip |
Fixed bug with Windows paths in goto_ctag(); modules/textadept/adeptsense.lua
-rw-r--r-- | modules/textadept/adeptsense.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/adeptsense.lua b/modules/textadept/adeptsense.lua index 3c360167..8a8775e7 100644 --- a/modules/textadept/adeptsense.lua +++ b/modules/textadept/adeptsense.lua @@ -316,7 +316,7 @@ function goto_ctag(sense, k, title) local location = gui.filteredlist(title, columns, items, false, '--output-column', '3') if not location then return end - local path, line = location:match('^([^:]+):(.+)$') + local path, line = location:match('^(%a?:?[^:]+):(.+)$') io.open_file(path) if not tonumber(line) then -- /^ ... $/ |