mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-28 18:47:41 +00:00
Merge pull request #1148 from keymanapp/developer-web-editor-show-char-preview-range
[Developer] Show selected character range in character preview window, not just first character
This commit is contained in:
commit
ffd4b28372
1 changed files with 6 additions and 5 deletions
|
|
@ -888,12 +888,13 @@ var
|
|||
token, prevtoken: WideString;
|
||||
FHelpTopic, FPrevHelpTopic: WideString;
|
||||
begin
|
||||
n := command.IndexOf(',');
|
||||
if n < 0 then
|
||||
token := StrToken(command, ',');
|
||||
if token = 'null' then
|
||||
col := 0
|
||||
else if not TryStrToInt(token, col) then
|
||||
Exit;
|
||||
if not TryStrToInt(command.Substring(0, n), col) then
|
||||
Exit;
|
||||
line := command.Substring(n+1);
|
||||
|
||||
line := command;
|
||||
|
||||
x := col+1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue