aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2011-02-03 20:53:09 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2011-02-03 20:53:09 -0500
commit6c2fe3e4cedb105024d7674732de43166046e311 (patch)
treeab4bb372ca847d395ec2c43e9548f80841646cbe /modules/textadept
parentac73b9105d1812e20149506aefe8c4e0579b3126 (diff)
downloadtextadept-6c2fe3e4cedb105024d7674732de43166046e311.tar.gz
textadept-6c2fe3e4cedb105024d7674732de43166046e311.zip
Fixed bug with Windows paths in goto_ctag(); modules/textadept/adeptsense.lua
Diffstat (limited to 'modules/textadept')
-rw-r--r--modules/textadept/adeptsense.lua2
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
-- /^ ... $/