Ver código fonte

Add comment.

Martijn Laan 1 ano atrás
pai
commit
1f89ddd361
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      Components/ScintEdit.pas

+ 1 - 0
Components/ScintEdit.pas

@@ -869,6 +869,7 @@ begin
 end;
 end;
 
 
 class function TScintEdit.GetErrorException(const S: String): EScintEditError;
 class function TScintEdit.GetErrorException(const S: String): EScintEditError;
+ { Can be used when just calling Error would cause a compiler warning because it doesn't realize Error always raises }
 begin
 begin
   Result := EScintEditError.Create('TScintEdit error: ' + S);
   Result := EScintEditError.Create('TScintEdit error: ' + S);
 end;
 end;