Diff of /SynHighlighterRuby.pas [r188] .. [r189] Maximize Restore

  Switch to side-by-side view

--- a/SynHighlighterRuby.pas
+++ b/SynHighlighterRuby.pas
@@ -133,7 +133,7 @@
     procedure SetLine({$IFDEF FPC}const {$ENDIF}NewValue: string; LineNumber:Integer); override;
     function GetToken: string; override;
     {$IFDEF SYN_LAZARUS}
-    procedure GetTokenEx(var TokenStart: PChar; var TokenLength: integer); override;
+    procedure GetTokenEx(out TokenStart: PChar; out TokenLength: integer); override;
     {$ENDIF}
     function GetTokenAttribute: TSynHighlighterAttributes; override;
     function GetTokenKind: integer; override;
@@ -661,8 +661,8 @@
 end;
 
 {$IFDEF SYN_LAZARUS}
-procedure TSynRubySyn.GetTokenEx(var TokenStart: PChar;
-  var TokenLength: integer);
+procedure TSynRubySyn.GetTokenEx(out TokenStart: PChar;
+  out TokenLength: integer);
 begin
   TokenLength:=Run-fTokenPos;
   TokenStart:=FLine + fTokenPos;