mirror of https://gitlab.com/basile.b/dexed.git
fix #208 - click a message for goto line broken on windows
This commit is contained in:
parent
f59e2f8b6d
commit
061174fbac
|
@ -1076,6 +1076,10 @@ begin
|
||||||
if aMessage.isEmpty then
|
if aMessage.isEmpty then
|
||||||
exit;
|
exit;
|
||||||
rng.init(aMessage);
|
rng.init(aMessage);
|
||||||
|
{$IFDEF WINDOWS}
|
||||||
|
if (aMessage.length > 3) and (aMessage[2..3] = ':\') then
|
||||||
|
rng.popFrontN(3);
|
||||||
|
{$ENDIF}
|
||||||
rng.popUntil(['(', ':'])^.popWhile(['(', ':']);
|
rng.popUntil(['(', ':'])^.popWhile(['(', ':']);
|
||||||
lne := rng.takeUntil([',', ':', ')', ' ']).yield;
|
lne := rng.takeUntil([',', ':', ')', ' ']).yield;
|
||||||
if rng.front in [',', ':'] then
|
if rng.front in [',', ':'] then
|
||||||
|
|
Loading…
Reference in New Issue