fpconst.pas 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. {
  2. $Id$
  3. This file is part of the Free Pascal Integrated Development Environment
  4. Copyright (c) 1998 by Berczi Gabor
  5. Constants used by the IDE
  6. See the file COPYING.FPC, included in this distribution,
  7. for details about the copyright.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. **********************************************************************}
  12. unit FPConst;
  13. interface
  14. uses Views,App,Commands;
  15. const
  16. VersionStr = '0.9';
  17. { Strings/Messages }
  18. strLoadingHelp = 'Loading help files...';
  19. strBuildingHelpIndex = 'Building Help Index...';
  20. strLocatingTopic = 'Locating topic...';
  21. { Main menu submenu indexes }
  22. menuFile = 0;
  23. { Command constants }
  24. cmShowClipboard = 201;
  25. cmFindProcedure = 206;
  26. cmObjects = 207;
  27. cmModules = 208;
  28. cmGlobals = 209;
  29. cmRun = 210;
  30. cmParameters = 211;
  31. cmUserScreen = 212;
  32. cmCompile = 213;
  33. cmMake = 214;
  34. cmBuild = 215;
  35. cmTarget = 216;
  36. cmPrimaryFile = 217;
  37. cmClearPrimary = 218;
  38. cmInformation = 219;
  39. cmWindowList = 220;
  40. cmHelpTopicSearch = 221;
  41. cmNotImplemented = 1000;
  42. cmNewFromTemplate = 1001;
  43. cmSearchWindow = 1500;
  44. cmUpdate = 1600;
  45. cmSourceWindowClosing = 1601;
  46. cmDeleteWnd = 1602;
  47. cmLocalMenu = 1603;
  48. cmCalculatorPaste = 1604;
  49. cmToolsMessages = 1700;
  50. cmToolsBase = 1800;
  51. cmRecentFileBase = 1850;
  52. cmCompiler = 2000;
  53. cmMemorySizes = 2001;
  54. cmLinker = 2002;
  55. cmDebugger = 2003;
  56. cmDirectories = 2004;
  57. cmTools = 2005;
  58. cmPreferences = 2006;
  59. cmEditor = 2007;
  60. cmMouse = 2008;
  61. cmStartup = 2009;
  62. cmColors = 2010;
  63. cmCalculator = 2011;
  64. cmAbout = 2050;
  65. cmHelpContents = 2100;
  66. cmHelpIndex = 2101;
  67. cmHelpPrevTopic = 2103;
  68. cmHelpUsingHelp = 2104;
  69. cmHelpFiles = 2105;
  70. cmOpenAtCursor = 2200;
  71. cmBrowseAtCursor = 2201;
  72. cmEditorOptions = 2202;
  73. { Help constants }
  74. hcSourceWindow = 8000;
  75. hcHelpWindow = 8001;
  76. hcClipboardWindow = 8002;
  77. hcCalcWindow = 8003;
  78. hcShift = 10000;
  79. hcUsingHelp = 2;
  80. hcContents = 3;
  81. hcQuit = hcShift+cmQuit;
  82. hcRedo = hcShift+cmRedo;
  83. hcFind = hcShift+cmFind;
  84. hcReplace = hcShift+cmReplace;
  85. hcSearchAgain = hcShift+cmSearchAgain;
  86. hcGotoLine = hcShift+cmJumpLine;
  87. hcToolsMessages = hcShift+cmToolsMessages;
  88. hcToolsBase = hcShift+cmToolsBase;
  89. hcRecentFileBase = hcShift+cmRecentFileBase;
  90. hcCompiler = hcShift+cmCompiler;
  91. hcMemorySizes = hcShift+cmMemorySizes;
  92. hcLinker = hcShift+cmLinker;
  93. hcDebugger = hcShift+cmDebugger;
  94. hcDirectories = hcShift+cmDirectories;
  95. hcTools = hcShift+cmTools;
  96. hcPreferences = hcShift+cmPreferences;
  97. hcEditor = hcShift+cmEditor;
  98. hcMouse = hcShift+cmMouse;
  99. hcStartup = hcShift+cmStartup;
  100. hcColors = hcShift+cmColors;
  101. hcCalculator = hcShift+cmCalculator;
  102. hcAbout = hcShift+cmAbout;
  103. hcSystemMenu = 9000;
  104. hcFileMenu = 9001;
  105. hcEditMenu = 9002;
  106. hcSearchMenu = 9003;
  107. hcRunMenu = 9004;
  108. hcCompileMenu = 9005;
  109. hcDebugMenu = 9006;
  110. hcToolsMenu = 9007;
  111. hcOptionsMenu = 9008;
  112. hcEnvironmentMenu = 9009;
  113. hcWindowMenu = 9010;
  114. hcHelpMenu = 9011;
  115. hcFirstCommand = hcSystemMenu;
  116. hcLastCommand = 65535;
  117. hcShowClipboard = hcShift+cmShowClipboard;
  118. hcFindProcedure = hcShift+cmFindProcedure;
  119. hcObjects = hcShift+cmObjects;
  120. hcModules = hcShift+cmModules;
  121. hcGlobals = hcShift+cmGlobals;
  122. hcRun = hcShift+cmRun;
  123. hcParameters = hcShift+cmParameters;
  124. hcUserScreen = hcShift+cmUserScreen;
  125. hcCompile = hcShift+cmCompile;
  126. hcMake = hcShift+cmMake;
  127. hcBuild = hcShift+cmBuild;
  128. hcTarget = hcShift+cmTarget;
  129. hcPrimaryFile = hcShift+cmPrimaryFile;
  130. hcClearPrimary = hcShift+cmClearPrimary;
  131. hcInformation = hcShift+cmInformation;
  132. hcWindowList = hcShift+cmWindowList;
  133. hcNewFromTemplate = hcShift+cmNewFromTemplate;
  134. hcHelpTopicSearch = hcShift+cmHelpTopicSearch;
  135. hcHelpContents = hcShift+cmHelpContents;
  136. hcHelpIndex = hcShift+cmHelpIndex;
  137. hcHelpPrevTopic = hcShift+cmHelpPrevTopic;
  138. hcHelpUsingHelp = hcShift+cmHelpUsingHelp;
  139. hcHelpFiles = hcShift+cmHelpFiles;
  140. hcUpdate = hcShift+cmUpdate;
  141. hcOpenAtCursor = hcShift+cmOpenAtCursor;
  142. hcBrowseAtCursor = hcShift+cmBrowseAtCursor;
  143. hcEditorOptions = hcShift+cmEditorOptions;
  144. { History constants }
  145. hisChDirDialog = 2000;
  146. CIDEHelpDialog =
  147. #128#129#130#131#132#133#134#135#136#137#138#139#140#141#142#143 +
  148. #144#145#146#147#148#149#150#151#152#153#154#155#156#157#158#159 +
  149. #160#161#162#163 +
  150. #164#165#166;
  151. CSourceWindow =
  152. #167#168#169#170#171#172#173#174#175#176#177#178#179#180#181#182 +
  153. #183#184#185#186#187#188#189#190#191#192#193#194#195#196#197#198 +
  154. #199#200#201#202#203#204#205#206#207#208#209#210#211#212#213#214 ;
  155. CIDEAppColor = CAppColor +
  156. { CIDEHelpDialog }
  157. {128-143}#$70#$7F#$7A#$13#$13#$70#$70#$7F#$7E#$20#$2B#$2F#$78#$2E#$70#$30 + { 1-16}
  158. {144-159}#$3F#$3E#$1F#$2F#$1A#$20#$72#$31#$31#$30#$2F#$3E#$31#$13#$38#$00 + {17-32}
  159. {160-163}#$30#$3E#$1E#$70 + { CHelpViewer } {33-36}
  160. {164-166}#$30#$3F#$3A + { CHelpFrame } {37-39}
  161. { CSourceWindow }
  162. {167-182}#$17#$1F#$1A#$31#$31#$1E#$71#$1F#$00#$00#$00#$00#$00#$00#$00#$00 + { 1-16}
  163. {183-198}#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00 + {17-32}
  164. {199-214}#$1E#$1F#$17#$1F#$1E#$1B#$13#$1A#$1E#$71#$3F#$1F#$1C#$00#$00#$4E ; {33-48}
  165. implementation
  166. END.
  167. {
  168. $Log$
  169. Revision 1.1 1998-12-22 14:27:54 peter
  170. * moved
  171. Revision 1.3 1998/12/22 10:39:41 peter
  172. + options are now written/read
  173. + find and replace routines
  174. }