Project JEDI - Issue Tracker - JEDI VCL
Viewing Issue Advanced Details
6634 00 JVCL Components minor always 2018-04-17 14:39 2018-10-02 09:22
tstoicescu  
AHUser  
normal  
resolved Daily / GIT  
fixed  
none    
none Daily / GIT  
0006634: Access violation in Jedi/Jvcl/Run/JvclUtils.pas
Access violation in Jedi/Jvcl/Run/JvclUtils.pas
in: GetWordOnPos2(s = '', P>0)..
in: if CharInSet(S[P], Separators) and ((P < 1) or CharInSet(S[P - 1], Separators)) then

from: Jedi/Jvcl/Run/JvEditor.Pas
TJvCompletion.FindSelItem
 S := GetWordOnPos2(Ed.FLines[Ed.CaretY], Ed.CaretX, iBeg, iEnd)
where Ed.FLines[Ed.CaretY] = EmptyStr and Ed.CaretX > 0,
because a line ' 22 ' edit in runtime, after deleting '22'.
Issue History
2018-04-17 14:39 tstoicescu New Issue
2018-04-17 14:55 tstoicescu Issue Monitored: tstoicescu
2018-04-17 14:57 tstoicescu Note Added: 0021463
2018-07-18 16:07 obones Note Added: 0021553
2018-07-18 16:07 obones Status new => feedback
2018-10-02 09:22 AHUser Note Added: 0021579
2018-10-02 09:22 AHUser Status feedback => resolved
2018-10-02 09:22 AHUser Fixed in Version => Daily / GIT
2018-10-02 09:22 AHUser Resolution open => fixed
2018-10-02 09:22 AHUser Assigned To => AHUser

Notes
(0021463)
tstoicescu   
2018-04-17 14:57   
0I think may be like in GetWordOnPos

....
if (P > Length(S)) or (P < 1) then
    Exit;
...

not only

....
if (P < 1) then
    Exit;
.....
(0021553)
obones   
2018-07-18 16:07   
Could you check if the issue is still present in the latest GIT content? If yes, please provide the zipped sources of an application showing this.
(0021579)
AHUser   
2018-10-02 09:22   
Fixed in git master