jvcl driver development envionment

源代码在线查看: completion.pad

软件大小: 11078 K
上传用户: haowfei
关键词: development envionment driver jvcl
下载地址: 免注册下载 普通下载 VIP

相关代码

				unit Completion;
				
				uses Global;
				
				procedure InitCompletion;
				begin
				  { dummy }
				end;
				
				procedure DoneCompletion;
				begin
				  { dummy }
				end;
				
				procedure OpenCompletion(FileName: string);
				var
				  FN: string;
				begin
				  FN := WorkingDir + Editor.HighlighterName + '.templates';
				  if FileExists(FN) then
				    Editor.Completion.Templates.LoadFromFile(FN)
				  else
				    Editor.Completion.Templates.Clear;
				  FN := WorkingDir + Editor.HighlighterName + '.identifers';
				  if FileExists(FN) then
				  begin
				    Editor.Completion.Enabled := True;
				    Editor.Completion.Identifers.LoadFromFile(FN);
				  end
				  else
				  begin
				    Editor.Completion.Enabled := False;
				    Editor.Completion.Identifers.Clear;
				  end;
				  Editor.Completion.Separator := '~';
				  Editor.Completion.CRLF := '/n/';
				end;
				
				end.
							

相关资源