View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004528 | JEDI VCL | 00 JVCL Components | public | 2008-10-13 03:15 | 2008-10-16 12:15 |
Reporter | whf | Assigned To | obones | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | Daily / GIT | ||||
Target Version | Fixed in Version | 3.36 | |||
Summary | 0004528: TJvEditor bug | ||||
Description | Hi: in Delphi 2009,TJvEditor have a bug: when i use shift+down arry Select One Line,then Copy and Paste,bug appear maybe bug in this code: function TJvCustomEditor.GetSelText | ||||
Tags | No tags attached. | ||||
|
Please provide the zipped sources of a sample application showing this, along with a detailed explanation of what you think is wrong. |
|
OK,this is a Demo Please use shift+down arry Select One Line,then Copy and Paste,bug appear |
|
GetSelText is using the function MOVE() and not accounting for unicode strings. Should change to Move( <var>,<var>, LEN * SizeOf(Char) ); I fixed by this and changed P from pchar to integer Move( s, Result[p], ... Also CR LF needs to change to Move(0000013#10,Result[p],2*SizeOf(Char)); |
2008-10-15 02:58
|
testedito.rar (11,076 bytes) |
|
Thanks. This should now be fixed in SVN. All calls to Move were reviewed and changed where appropriate |
Date Modified | Username | Field | Change |
---|---|---|---|
2008-10-13 03:15 | whf | New Issue | |
2008-10-13 04:57 | obones | Note Added: 0014845 | |
2008-10-13 04:57 | obones | Status | new => feedback |
2008-10-13 20:56 | whf | Note Added: 0014853 | |
2008-10-14 13:29 | n9zle | Note Added: 0014860 | |
2008-10-15 02:09 | obones | Assigned To | => obones |
2008-10-15 02:58 | whf | File Added: testedito.rar | |
2008-10-16 12:14 | obones | Status | feedback => resolved |
2008-10-16 12:14 | obones | Fixed in Version | => Daily / SVN |
2008-10-16 12:14 | obones | Resolution | open => fixed |
2008-10-16 12:14 | obones | Note Added: 0014873 |