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
|
||||
exit;
|
||||
rng.init(aMessage);
|
||||
{$IFDEF WINDOWS}
|
||||
if (aMessage.length > 3) and (aMessage[2..3] = ':\') then
|
||||
rng.popFrontN(3);
|
||||
{$ENDIF}
|
||||
rng.popUntil(['(', ':'])^.popWhile(['(', ':']);
|
||||
lne := rng.takeUntil([',', ':', ')', ' ']).yield;
|
||||
if rng.front in [',', ':'] then
|
||||
|
|
Loading…
Reference in New Issue