Changeset 211
- Timestamp:
- Jun 13, 2007, 8:32:31 PM (18 years ago)
- Location:
- trunk/Components
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Components/Outline2.PAS
r15 r211 4 4 5 5 Uses 6 Classes, Forms, SysUtils, BseDos; 6 Classes, 7 Forms, 8 SysUtils, 9 BseDos; 7 10 8 11 { … … 455 458 uses 456 459 Messages, 457 ACLStringUtility,458 ControlScrolling;460 ControlScrolling, 461 StringUtilsUnit; 459 462 460 463 // ============================================================================ … … 2214 2217 exit; 2215 2218 2216 if StrStarts ( S, Node.Text ) then2219 if StrStartsWithIgnoringCase( S, Node.Text ) then 2217 2220 begin 2218 2221 // found -
trunk/Components/RichTextView.PAS
r39 r211 428 428 429 429 Uses 430 SysUtils, PMWin, BseDos, Dos, ClipBrd, Printers, 431 ACLStringUtility, ACLString, 432 ControlScrolling, ControlsUtility, 433 RichTextDocumentUnit, RichTextDisplayUnit; 430 SysUtils, 431 PMWin, 432 BseDos, 433 Dos, 434 ClipBrd, 435 Printers, 436 ACLString, 437 ControlScrolling, 438 ControlsUtility, 439 RichTextDocumentUnit, 440 RichTextDisplayUnit, 441 442 CharUtilsUnit; 434 443 435 444 Procedure TRichTextView.SetSelectionStart( SelectionStart: longint ); … … 2050 2059 // SetCursorIndex( GetCharIndex( P ), PreserveSelection ); 2051 2060 Line := FLayout.FLines[ CursorRow ]; 2052 NewOffset := PChar Diff( P, Line.Text );2061 NewOffset := PCharPointerDiff( P, Line.Text ); 2053 2062 if NewOffset < Line.Length then 2054 2063 begin … … 2090 2099 // exit; 2091 2100 Line := FLayout.FLines[ CursorRow ]; 2092 NewOffset := PChar Diff( P, Line.Text );2101 NewOffset := PCharPointerDiff( P, Line.Text ); 2093 2102 if NewOffset >= 0 then 2094 2103 begin … … 2255 2264 255 ); 2256 2265 2257 Result := Str NPas( Buffer, Length );2266 Result := StrPasWithLength( Buffer, Length ); 2258 2267 end; 2259 2268
Note:
See TracChangeset
for help on using the changeset viewer.