From 6c2fe3e4cedb105024d7674732de43166046e311 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 3 Feb 2011 20:53:09 -0500 Subject: Fixed bug with Windows paths in goto_ctag(); modules/textadept/adeptsense.lua --- modules/textadept/adeptsense.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- /^ ... $/ -- cgit v1.2.3