mirror of https://gitlab.com/basile.b/dexed.git
runnable modules can always import from their parent folder
This commit is contained in:
parent
e83ddd6213
commit
a85aeb8172
|
@ -1268,6 +1268,7 @@ begin
|
||||||
dmdproc.Options := [poStdErrToOutput, poUsePipes];
|
dmdproc.Options := [poStdErrToOutput, poUsePipes];
|
||||||
dmdproc.Executable := DCompiler;
|
dmdproc.Executable := DCompiler;
|
||||||
dmdproc.Parameters.Add(fDoc.fileName);
|
dmdproc.Parameters.Add(fDoc.fileName);
|
||||||
|
dmdproc.Parameters.Add('-J' + ExtractFilePath(fDoc.fileName));
|
||||||
dmdproc.Parameters.AddText(fRunnableSw);
|
dmdproc.Parameters.AddText(fRunnableSw);
|
||||||
if unittest then
|
if unittest then
|
||||||
begin
|
begin
|
||||||
|
|
|
@ -628,7 +628,7 @@ begin
|
||||||
if fMousePos.X > llen then exit;
|
if fMousePos.X > llen then exit;
|
||||||
//
|
//
|
||||||
// something note really clear:
|
// something note really clear:
|
||||||
// TCEEditorWidget.getSymbolLoc works when using the line ending from the filename.
|
// TCEEditorWidget.getSymbolLoc works when using the line ending of the file.
|
||||||
// TCESynMemo.getMouseFileBytePos works when using the line ending from the system.
|
// TCESynMemo.getMouseFileBytePos works when using the line ending from the system.
|
||||||
len := getSysLineEndLen;
|
len := getSysLineEndLen;
|
||||||
for i:= 0 to fMousePos.y-2 do
|
for i:= 0 to fMousePos.y-2 do
|
||||||
|
|
Loading…
Reference in New Issue