亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? delfor1.pas

?? delphi代碼格式化,最新漢化版
?? PAS
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
{|----------------------------------------------------------------------
 | Class:       TPascalParser
 |
 | Author:      Egbert van Nes
 |
 | Description: Format pascal code
 |
 | Copyright (c) 2000  Egbert van Nes
 |
 | Redistribution and use in source and binary form, with or without
 | modification, are permitted provided that the following conditions
 | are met:
 |
 | 1. Redistributions of source code must retain the above copyright
 |    notice, this list of conditions and the following disclaimer.
 |    If the source is modified, the complete original and unmodified
 |    source code has to distributed with the modified version.
 |
 | 2. Redistributions in binary form must reproduce the above
 |    copyright notice, these licence conditions and the disclaimer
 |    found at the end of this licence agreement in the documentation
 |    and/or other materials provided with the distribution.
 |
 | 3. Software using this code must contain a visible line of credit.
 |
 | 4. If my code is used in a "for profit" product, you have to donate
 |    to a registered charity in an amount that you feel is fair.
 |    You may use it in as many of your products as you like.
 |    Proof of this donation must be provided to the author of
 |    this software.
 |
 | 5. If you for some reasons don't want to give public credit to the
 |    author, you have to donate three times the price of your software
 |    product, or any other product including this component in any way,
 |    but no more than $500 US and not less than $200 US, or the
 |    equivalent thereof in other currency, to a registered charity.
 |    You have to do this for every of your products, which uses this
 |    code separately.
 |    Proof of this donations must be provided to the author of
 |    this software.
 |
 | DISCLAIMER:
 |
 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR 'AS IS'.
 |
 | ALL EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
 | PARTICULAR PURPOSE ARE DISCLAIMED.
 |
 | IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 | OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 | THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 |
 |---------------------------------------------------------------------- |----------------------------------------------------------------------}

unit Delfor1;

interface

uses SysUtils, OObjects, Classes, ExtCtrls, Menus, DelForTypes, DelforEng
{$IFDEF CS_TRACE} ,CodeSiteLogging {$ENDIF};
{
  Main interface methods:

  TPascalParser = class(TObject)
  public
    constructor Create(ARootdir: PChar);
    procedure SetDefault;
    procedure LoadFromFile(AFileName: PChar);
    procedure LoadFromList(AList: TStringList);
    function Parse: Boolean;
    procedure WriteToFile(AFileName: PChar);
    destructor Destroy; override;
    property Text: PChar read GetTextStr write SetTextStr;
    property Settings: TSettings read FSettings write FSettings;
  end;
}
type
 TPascalParser = class(TObject)
 private
//  Timer: TTimer;
  FSettings: TSettings;
  FCapFileName: PChar;
  CapFileTime: Integer;
  FOnProgress: TProgressEvent;
  FCfgFile: string;
  FRootDir: string;
  procedure SetFillNewWords(AFillNewWords: TFillMode);
  procedure SetCapFileName(AFileName: PChar);
//  procedure TimerTimer(Sender: TObject);
  function GetNewCapFileTime: Integer;
  procedure SetTextStr(AText: PChar);
  function GetShortCut: TShortCut;
  procedure SetShortCut(AShortCut: TShortCut);
  procedure SetShortCutText(AShortCut: string);
  function GetShortCutText: string;
  function GetTextStr: PChar;
  function GetRootDir: string;
  procedure SetRootdir(const Value: string);
  procedure SetOnProgress(const Value: TProgressEvent);
 public
  procedure Activate;
  procedure deActivate;
  procedure SaveCapFile(AFileName: PChar);
  procedure LoadCapFile(AFileName: PChar);
  constructor Create(ARootdir: PChar);
  procedure Clear;
  procedure SetDefault;
  procedure SetBorland;
  procedure LoadFromFile(AFileName: PChar);
  procedure LoadFromList(AList: TStringList);
  function Parse: Boolean;
  procedure Config(DoRead: Boolean);
  procedure WriteToFile(AFileName: PChar);
  destructor Destroy; override;
  property SpacePerIndent: Integer read FSettings.SpacePerIndent write
   FSettings.SpacePerIndent;
  property SpaceOperators: TSpaceBefore read FSettings.SpaceOperators write
   FSettings.SpaceOperators;
  property SpaceEqualOper: TSpaceBefore read FSettings.SpaceEqualOper write
   FSettings.SpaceEqualOper;
  property SpaceColon: TSpaceBefore read FSettings.SpaceColon write
   FSettings.SpaceColon;
  property SpaceComma: TSpaceBefore read FSettings.SpaceComma write
   FSettings.SpaceComma;
  property SpaceSemiColon: TSpaceBefore read FSettings.SpaceSemiColon write
   FSettings.SpaceSemiColon;
  property SpaceLeftBr: TSpaceBefore read FSettings.SpaceLeftBr write
   FSettings.SpaceLeftBr;
  property SpaceRightBr: TSpaceBefore read FSettings.SpaceRightBr write
   FSettings.SpaceRightBr;
  property SpaceLeftHook: TSpaceBefore read FSettings.SpaceLeftHook write
   FSettings.SpaceLeftHook;
  property SpaceRightHook: TSpaceBefore read FSettings.SpaceRightHook write
   FSettings.SpaceRightHook;
  property UpperCompDirectives: Boolean read FSettings.UpperCompDirectives
   write FSettings.UpperCompDirectives;
  property UpperNumbers: Boolean read FSettings.UpperNumbers write
   FSettings.UpperNumbers;
  property ReservedCase: TCase read FSettings.ReservedCase write
   FSettings.ReservedCase;
  property StandDirectivesCase: TCase read FSettings.StandDirectivesCase write
   FSettings.StandDirectivesCase;
  property ChangeIndent: Boolean read FSettings.ChangeIndent write
   FSettings.ChangeIndent;
  property indentBegin: Boolean read FSettings.indentBegin write
   FSettings.indentBegin;
  property NoIndentElseIf: Boolean read FSettings.NoIndentElseIf write
   FSettings.NoIndentElseIf;
  property IndentComments: Boolean read FSettings.IndentComments write
   FSettings.IndentComments;
  property IndentCompDirectives: Boolean read FSettings.IndentCompDirectives
   write FSettings.IndentCompDirectives;
  property IndentTry: Boolean read FSettings.IndentTry write
   FSettings.IndentTry;
  property IndentTryElse: Boolean read FSettings.IndentTryElse write
   FSettings.IndentTryElse;
  property IndentCaseElse: Boolean read FSettings.IndentCaseElse write
   FSettings.IndentCaseElse;
  property BlankProc: Boolean read FSettings.BlankProc write
   FSettings.BlankProc;
  property RemoveDoubleBlank: Boolean read FSettings.RemoveDoubleBlank write
   FSettings.RemoveDoubleBlank;
  property FeedRoundBegin: TFeedBegin read FSettings.FeedRoundBegin write
   FSettings.FeedRoundBegin;
  property FeedAfterThen: Boolean read FSettings.FeedAfterThen write
   FSettings.FeedAfterThen;
  property ExceptSingle: Boolean read FSettings.ExceptSingle write
   FSettings.ExceptSingle;
  property NoFeedBeforeThen: Boolean read FSettings.NoFeedBeforeThen write
   FSettings.NoFeedBeforeThen;
  property FeedElseIf: Boolean read FSettings.FeedElseIf write
   FSettings.FeedElseIf;
  property FeedEachUnit: Boolean read FSettings.FeedEachUnit write
   FSettings.FeedEachUnit;
  property FeedAfterVar: Boolean read FSettings.FeedAfterVar write
   FSettings.FeedAfterVar;
  property WrapLines: Boolean read FSettings.WrapLines write
   FSettings.WrapLines;
  property WrapPosition: Byte read FSettings.WrapPosition write
   FSettings.WrapPosition;
  property AlignCommentPos: Byte read FSettings.AlignCommentPos write
   FSettings.AlignCommentPos;
  property AlignComments: Boolean read FSettings.AlignComments write
   FSettings.AlignComments;
  property AlignVarPos: Byte read FSettings.AlignVarPos write
   FSettings.AlignVarPos;
  property AlignVar: Boolean read FSettings.AlignVar write
   FSettings.AlignVar;
  property FeedBeforeEnd: Boolean read FSettings.FeedBeforeEnd write
   FSettings.FeedBeforeEnd;
  property FillNewWords: TFillMode read FSettings.FillNewWords write
   SetFillNewWords;
  property FeedAfterSemiColon: Boolean read FSettings.FeedAfterSemiColon write
   FSettings.FeedAfterSemiColon;
  property BlankSubProc: Boolean read FSettings.BlankSubProc write
   FSettings.BlankSubProc;
  property CommentFunction: Boolean read FSettings.CommentFunction write
   FSettings.CommentFunction;
  property CommentUnit: Boolean read FSettings.CommentUnit write
   FSettings.CommentUnit;
  property StartCommentOut: TCommentArray read FSettings.StartCommentOut write
   FSettings.StartCommentOut;
  property EndCommentOut: TCommentArray read FSettings.EndCommentOut write
   FSettings.EndCommentOut;
  property CapFileName: PChar read FCapFileName write SetCapFileName;
  property Text: PChar read GetTextStr write SetTextStr;
  property OnProgress: TProgressEvent read FOnProgress write SetOnProgress;
  property ShortCutText: string read GetShortCutText write SetShortCutText;
  property ShortCut: TShortCut read GetShortCut write SetShortCut;
  property CfgFile: string read FCfgFile write FCfgFile;
  property RootDir: string read GetRootDir write SetRootdir;
  property Settings: TSettings read FSettings write FSettings;
 end;
 
var
 Formatter: TPascalParser;
 
implementation

uses Dialogs, {FileCtrl,} DelForExpert;

constructor TPascalParser.Create(ARootdir: PChar);
begin
  {$IFDEF CS_TRACE}CodeSite.EnterMethod( Self, 'Create' );{$ENDIF}
 Formatter := Self;
 CapFileTime := -1;
 SetDefault;
// Timer := TTimer.Create(nil);
// Timer.Interval := 1000;
// Timer.OnTimer := TimerTimer;
 RootDir := ARootdir;
 Activate;
  {$IFDEF CS_TRACE}CodeSite.ExitMethod( Self, 'Create' );{$ENDIF}
end;

procedure TPascalParser.Activate;
begin
  {$IFDEF CS_TRACE}CodeSite.EnterMethod( Self, 'Activate' );{$ENDIF}
 LoadDll(PChar(RootDir));
  {$IFDEF CS_TRACE}CodeSite.ExitMethod( Self, 'Activate' );{$ENDIF}
end;

procedure TPascalParser.deActivate;
begin
  {$IFDEF CS_TRACE}CodeSite.EnterMethod( Self, 'deActivate' );{$ENDIF}
 FreeDll;
  {$IFDEF CS_TRACE}CodeSite.ExitMethod( Self, 'deActivate' );{$ENDIF}
end;

procedure TPascalParser.SetDefault;
begin
  {$IFDEF CS_TRACE}CodeSite.EnterMethod( Self, 'SetDefault' );{$ENDIF}
 CapFileName := nil;
 WrapLines := False;
 WrapPosition := 81;
 AlignCommentPos := 40;
 AlignComments := False;
 AlignVarPos := 20;
 AlignVar := False;
 SpaceEqualOper := spBoth;
 SpaceOperators := spBoth;
 SpaceColon := spAfter;
 SpaceComma := spAfter;
 SpaceSemiColon := spAfter;
 SpaceLeftBr := spNone;
 SpaceRightBr := spNone;
 SpaceLeftHook := spNone;
 SpaceRightHook := spNone;
 ReservedCase := rfLowerCase;
 StandDirectivesCase := rfLowerCase;
 ChangeIndent := True;
 indentBegin := False;
 IndentComments := False;
 IndentCompDirectives := False;
 IndentTryElse := False;
 IndentCaseElse := False;
 FeedAfterThen := False;
 ExceptSingle := False;
 FeedElseIf := False;
 FeedEachUnit := False;
 NoFeedBeforeThen := False;
 NoIndentElseIf := False;
 FeedAfterVar := False;
 FeedBeforeEnd := False;
 FeedRoundBegin := UnChanged;
 FeedAfterSemiColon := False;
 FillNewWords := fmUnchanged;
 IndentTry := False;
 UpperCompDirectives := True;
 UpperNumbers := True;
 SpacePerIndent := 2;
 BlankProc := True;
 RemoveDoubleBlank := False;
 BlankSubProc := False;
 CommentFunction := False;
 CommentUnit := False;
 StrCopy(StartCommentOut, '{(*}');
 StrCopy(EndCommentOut, '{*)}');
 ShortCut := Menus.ShortCut(Word('D'), [ssCtrl]);
  {$IFDEF CS_TRACE}CodeSite.ExitMethod( Self, 'SetDefault' );{$ENDIF}
end;

procedure TPascalParser.SetBorland;

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人app网站| 91网上在线视频| 亚洲人成在线播放网站岛国| 911精品产国品一二三产区| 国产麻豆精品在线观看| 亚洲一级不卡视频| 国产日韩精品一区二区三区| 欧美特级限制片免费在线观看| 国产激情视频一区二区在线观看 | 精品电影一区二区三区| 在线观看免费亚洲| 成人免费视频一区| 久久aⅴ国产欧美74aaa| 亚洲自拍另类综合| 最新日韩在线视频| 欧美国产精品专区| 26uuuu精品一区二区| 欧美久久久久久久久中文字幕| 91在线观看污| 国产成人精品免费看| 国产一区二区毛片| 精品一区二区三区在线播放视频| 午夜久久久久久电影| 伊人婷婷欧美激情| 中文字幕综合网| 亚洲欧洲av色图| 亚洲视频一二区| 亚洲欧美日韩国产中文在线| 国产精品久久久久影院色老大 | 日韩精品一区二区三区中文精品| 在线观看视频一区二区欧美日韩| 99久久久久久99| 91视视频在线直接观看在线看网页在线看| 国产一区二区免费在线| 国内精品在线播放| 国产在线视频不卡二| 国产伦精品一区二区三区免费迷| 日本网站在线观看一区二区三区| 五月婷婷色综合| 爽好多水快深点欧美视频| 亚洲成av人影院| 五月天丁香久久| 日本亚洲一区二区| 久久99久国产精品黄毛片色诱| 久久99精品久久久久久动态图| 九九视频精品免费| 国产精品一区二区三区乱码| 国产成人免费视频网站 | 粉嫩在线一区二区三区视频| 国产成人在线视频网站| 成人av电影在线| 欧洲一区在线电影| 欧美一区二区三区人| 精品久久人人做人人爽| 久久久久国产精品厨房| 国产精品久线在线观看| 亚洲在线视频一区| 日本不卡视频在线| 国产二区国产一区在线观看| 不卡av在线网| 在线观看日韩av先锋影音电影院| 欧美丰满高潮xxxx喷水动漫| 欧美成人乱码一区二区三区| 国产视频亚洲色图| 中文字幕综合网| 日本亚洲视频在线| 成人免费视频视频| 欧美在线免费视屏| 欧美精品一区二区高清在线观看| 国产精品欧美极品| 亚洲国产日韩精品| 极品少妇一区二区三区精品视频| 国产成人免费在线观看不卡| 色悠悠久久综合| 欧美www视频| 亚洲欧洲色图综合| 日韩不卡在线观看日韩不卡视频| 国产成人午夜电影网| 欧美性猛交xxxx乱大交退制版| 欧美大片免费久久精品三p| 中文字幕免费不卡| 日本欧美肥老太交大片| a级精品国产片在线观看| 7777精品伊人久久久大香线蕉经典版下载 | 美国三级日本三级久久99| 国产一区二区在线免费观看| 91视频在线观看| 欧美成人艳星乳罩| 亚洲va国产va欧美va观看| 国产精品亚洲成人| 制服丝袜中文字幕亚洲| 中文在线一区二区| 日本不卡视频在线观看| 91久久精品午夜一区二区| 欧美成人video| 亚洲已满18点击进入久久| 国产美女主播视频一区| 欧美丰满少妇xxxxx高潮对白| 国产精品久久久久一区| 美国欧美日韩国产在线播放| 欧美在线观看视频一区二区| 国产午夜精品久久久久久免费视| 亚洲午夜久久久久久久久久久| 国产精品亚洲综合一区在线观看| 欧美日韩国产精选| 一区二区欧美视频| 成人国产精品免费观看动漫| 日韩精品一区二区在线| 日精品一区二区三区| 色欧美乱欧美15图片| 国产精品乱子久久久久| 极品少妇xxxx精品少妇偷拍| 777久久久精品| 亚洲国产成人va在线观看天堂| 久久精品久久久精品美女| 色素色在线综合| 国产精品亲子乱子伦xxxx裸| 国产一区二区网址| 欧美一级片免费看| 青青草成人在线观看| 色视频欧美一区二区三区| 国产精品家庭影院| 成人一区在线看| 欧美激情一区二区三区蜜桃视频 | 色综合久久天天| 日韩理论片网站| 成人激情开心网| 久久久久久久综合日本| 国产一区亚洲一区| 精品久久久久久久久久久久久久久 | 欧美一区二区免费观在线| 亚洲午夜私人影院| 91成人网在线| 亚洲国产日韩一区二区| 欧美日韩中文精品| 午夜精品免费在线观看| 欧美区视频在线观看| 午夜视频在线观看一区| 欧美剧情电影在线观看完整版免费励志电影| 亚洲手机成人高清视频| 欧美综合天天夜夜久久| 午夜激情久久久| 欧美一级片免费看| 国产精选一区二区三区| 日本一二三四高清不卡| 成人性生交大片免费 | 久久精品99久久久| 久久久综合九色合综国产精品| 国产精品18久久久久久vr| 日本一区二区三区高清不卡| jizz一区二区| 亚洲乱码国产乱码精品精的特点| 在线精品国精品国产尤物884a| 香蕉久久夜色精品国产使用方法| 777亚洲妇女| 国产一区欧美日韩| 亚洲人成网站在线| 欧美日韩另类国产亚洲欧美一级| 蜜桃精品在线观看| 久久久影视传媒| 色综合久久中文综合久久牛| 婷婷久久综合九色综合伊人色| 日韩精品一区二区三区四区| 国产成人综合视频| 一区二区欧美在线观看| 精品日本一线二线三线不卡| 成人永久看片免费视频天堂| 亚洲福中文字幕伊人影院| 精品国产区一区| 成人精品免费视频| 亚洲成人久久影院| 久久综合九色综合97_久久久| 不卡av在线网| 免费成人在线视频观看| 国产精品素人视频| 欧美日韩欧美一区二区| 国产乱理伦片在线观看夜一区| 亚洲精品视频一区二区| 精品久久久久一区二区国产| 91一区二区在线| 久久精工是国产品牌吗| 综合久久综合久久| 精品久久久久香蕉网| 色吧成人激情小说| 国产一区二区网址| 亚洲成av人影院| 中文字幕一区二区5566日韩| 91精品一区二区三区在线观看| 成人福利电影精品一区二区在线观看| 亚洲高清视频在线| 中文在线一区二区 | 日韩一区二区三区av| 不卡欧美aaaaa| 久久99精品视频| 亚洲成av人片| 亚洲少妇最新在线视频| 久久久久久夜精品精品免费| 欧美久久久一区| 在线亚洲+欧美+日本专区| 粉嫩蜜臀av国产精品网站|