mirror of https://gitlab.com/basile.b/dexed.git
fix typo in code comments
This commit is contained in:
parent
a0e24a4810
commit
57d766a268
|
@ -14,20 +14,20 @@ type
|
||||||
|
|
||||||
This class solves several issues encountered when using TProcess and TAsyncProcess:
|
This class solves several issues encountered when using TProcess and TAsyncProcess:
|
||||||
|
|
||||||
- OnTerminate event is never called under Linux.
|
- "OnTerminate" event is never called under Linux.
|
||||||
Here a timer perdiodically check the process and call the event accordingly.
|
FIX: a timer perdiodically check the process and call the event accordingly.
|
||||||
- TAsyncProcess.OnReadData event is not usable to read full output lines.
|
- "OnReadData" event is not usable to read full output lines.
|
||||||
Here the output is accumulated in a TMemoryStream which allows to keep data
|
FIX: the output is accumulated in a TMemoryStream which allows to keep data
|
||||||
at the left of an unterminated line when a buffer is available.
|
at the left of an unterminated line when a buffer is available.
|
||||||
- When StdErr is redirect to Output, both streams can be blended. Here the
|
- When StdErr is redirect to "Output", both streams can be blended.
|
||||||
option is deactivated on execution, a falg is set, and the error stream
|
FIX: the option is deactivated on execution, a flag is set, and the error
|
||||||
is always added to after the output.
|
stream is always appended after the output.
|
||||||
|
|
||||||
The member Output is not usable anymore. Instead:
|
The member "Output" is not usable anymore. Instead:
|
||||||
|
|
||||||
- getFullLines() can be used in OnReadData or after the execution to fill
|
- "getFullLines()" can be used in "OnReadData" or after the execution to fill
|
||||||
a string list.
|
a string list.
|
||||||
- OutputStack can be used to read the raw output. It allows to seek, which
|
- "StdoutEx" can be used to read the raw output. It allows to seek, which
|
||||||
overcomes another limitation of the basic process classes.
|
overcomes another limitation of the basic process classes.
|
||||||
}
|
}
|
||||||
TDexedProcess = class(TASyncProcess)
|
TDexedProcess = class(TASyncProcess)
|
||||||
|
|
|
@ -2374,7 +2374,7 @@ begin
|
||||||
(tk0^.kind in [matchingTok, ltkComment]) then
|
(tk0^.kind in [matchingTok, ltkComment]) then
|
||||||
exit;
|
exit;
|
||||||
end
|
end
|
||||||
// at the EOF an illegal tok is lokely something that has to be closed so
|
// at the EOF an illegal tok is likely something that has to be closed so
|
||||||
// dont auto insert the pair.
|
// dont auto insert the pair.
|
||||||
else if (tk0^.offset+1 <= p) and (tk0^.kind = ltkIllegal) then
|
else if (tk0^.offset+1 <= p) and (tk0^.kind = ltkIllegal) then
|
||||||
exit;
|
exit;
|
||||||
|
@ -3601,7 +3601,7 @@ begin
|
||||||
c := Key[1];
|
c := Key[1];
|
||||||
|
|
||||||
// scan source before insertion if pair auto closing is allowed otherwise the
|
// scan source before insertion if pair auto closing is allowed otherwise the
|
||||||
// tokens following the cursor are wring after the "inherited" call.
|
// tokens following the cursor are wrong after the "inherited" call.
|
||||||
case c of
|
case c of
|
||||||
#39: if autoCloseSingleQuote in fAutoClosedPairs then
|
#39: if autoCloseSingleQuote in fAutoClosedPairs then
|
||||||
reLex();
|
reLex();
|
||||||
|
|
Loading…
Reference in New Issue