mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-09 05:59:27 +01:00
208 lines
6.8 KiB
ObjectPascal
208 lines
6.8 KiB
ObjectPascal
{
|
|
$Id$
|
|
This file is part of the Free Pascal Integrated Development Environment
|
|
Copyright (c) 1998 by Berczi Gabor
|
|
|
|
Constants used by the IDE
|
|
|
|
See the file COPYING.FPC, included in this distribution,
|
|
for details about the copyright.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
**********************************************************************}
|
|
unit FPConst;
|
|
|
|
interface
|
|
|
|
uses Views,App,Commands;
|
|
|
|
const
|
|
VersionStr = '0.9';
|
|
|
|
{ Strings/Messages }
|
|
strLoadingHelp = 'Loading help files...';
|
|
strBuildingHelpIndex = 'Building Help Index...';
|
|
strLocatingTopic = 'Locating topic...';
|
|
|
|
{ Main menu submenu indexes }
|
|
menuFile = 0;
|
|
|
|
{ Command constants }
|
|
cmShowClipboard = 201;
|
|
cmFindProcedure = 206;
|
|
cmObjects = 207;
|
|
cmModules = 208;
|
|
cmGlobals = 209;
|
|
cmRun = 210;
|
|
cmParameters = 211;
|
|
cmUserScreen = 212;
|
|
cmCompile = 213;
|
|
cmMake = 214;
|
|
cmBuild = 215;
|
|
cmTarget = 216;
|
|
cmPrimaryFile = 217;
|
|
cmClearPrimary = 218;
|
|
cmInformation = 219;
|
|
cmWindowList = 220;
|
|
cmHelpTopicSearch = 221;
|
|
|
|
cmNotImplemented = 1000;
|
|
cmNewFromTemplate = 1001;
|
|
|
|
cmSearchWindow = 1500;
|
|
cmUpdate = 1600;
|
|
cmSourceWindowClosing = 1601;
|
|
cmDeleteWnd = 1602;
|
|
cmLocalMenu = 1603;
|
|
cmCalculatorPaste = 1604;
|
|
|
|
cmToolsMessages = 1700;
|
|
cmToolsBase = 1800;
|
|
cmRecentFileBase = 1850;
|
|
|
|
cmCompiler = 2000;
|
|
cmMemorySizes = 2001;
|
|
cmLinker = 2002;
|
|
cmDebugger = 2003;
|
|
cmDirectories = 2004;
|
|
cmTools = 2005;
|
|
cmPreferences = 2006;
|
|
cmEditor = 2007;
|
|
cmMouse = 2008;
|
|
cmStartup = 2009;
|
|
cmColors = 2010;
|
|
cmCalculator = 2011;
|
|
cmAbout = 2050;
|
|
|
|
cmHelpContents = 2100;
|
|
cmHelpIndex = 2101;
|
|
cmHelpPrevTopic = 2103;
|
|
cmHelpUsingHelp = 2104;
|
|
cmHelpFiles = 2105;
|
|
|
|
cmOpenAtCursor = 2200;
|
|
cmBrowseAtCursor = 2201;
|
|
cmEditorOptions = 2202;
|
|
|
|
{ Help constants }
|
|
hcSourceWindow = 8000;
|
|
hcHelpWindow = 8001;
|
|
hcClipboardWindow = 8002;
|
|
hcCalcWindow = 8003;
|
|
|
|
hcShift = 10000;
|
|
|
|
hcUsingHelp = 2;
|
|
hcContents = 3;
|
|
hcQuit = hcShift+cmQuit;
|
|
hcRedo = hcShift+cmRedo;
|
|
hcFind = hcShift+cmFind;
|
|
hcReplace = hcShift+cmReplace;
|
|
hcSearchAgain = hcShift+cmSearchAgain;
|
|
hcGotoLine = hcShift+cmJumpLine;
|
|
|
|
hcToolsMessages = hcShift+cmToolsMessages;
|
|
hcToolsBase = hcShift+cmToolsBase;
|
|
hcRecentFileBase = hcShift+cmRecentFileBase;
|
|
|
|
hcCompiler = hcShift+cmCompiler;
|
|
hcMemorySizes = hcShift+cmMemorySizes;
|
|
hcLinker = hcShift+cmLinker;
|
|
hcDebugger = hcShift+cmDebugger;
|
|
hcDirectories = hcShift+cmDirectories;
|
|
hcTools = hcShift+cmTools;
|
|
hcPreferences = hcShift+cmPreferences;
|
|
hcEditor = hcShift+cmEditor;
|
|
hcMouse = hcShift+cmMouse;
|
|
hcStartup = hcShift+cmStartup;
|
|
hcColors = hcShift+cmColors;
|
|
hcCalculator = hcShift+cmCalculator;
|
|
hcAbout = hcShift+cmAbout;
|
|
|
|
hcSystemMenu = 9000;
|
|
hcFileMenu = 9001;
|
|
hcEditMenu = 9002;
|
|
hcSearchMenu = 9003;
|
|
hcRunMenu = 9004;
|
|
hcCompileMenu = 9005;
|
|
hcDebugMenu = 9006;
|
|
hcToolsMenu = 9007;
|
|
hcOptionsMenu = 9008;
|
|
hcEnvironmentMenu = 9009;
|
|
hcWindowMenu = 9010;
|
|
hcHelpMenu = 9011;
|
|
|
|
hcFirstCommand = hcSystemMenu;
|
|
hcLastCommand = 65535;
|
|
|
|
hcShowClipboard = hcShift+cmShowClipboard;
|
|
hcFindProcedure = hcShift+cmFindProcedure;
|
|
hcObjects = hcShift+cmObjects;
|
|
hcModules = hcShift+cmModules;
|
|
hcGlobals = hcShift+cmGlobals;
|
|
hcRun = hcShift+cmRun;
|
|
hcParameters = hcShift+cmParameters;
|
|
hcUserScreen = hcShift+cmUserScreen;
|
|
hcCompile = hcShift+cmCompile;
|
|
hcMake = hcShift+cmMake;
|
|
hcBuild = hcShift+cmBuild;
|
|
hcTarget = hcShift+cmTarget;
|
|
hcPrimaryFile = hcShift+cmPrimaryFile;
|
|
hcClearPrimary = hcShift+cmClearPrimary;
|
|
hcInformation = hcShift+cmInformation;
|
|
hcWindowList = hcShift+cmWindowList;
|
|
hcNewFromTemplate = hcShift+cmNewFromTemplate;
|
|
hcHelpTopicSearch = hcShift+cmHelpTopicSearch;
|
|
hcHelpContents = hcShift+cmHelpContents;
|
|
hcHelpIndex = hcShift+cmHelpIndex;
|
|
hcHelpPrevTopic = hcShift+cmHelpPrevTopic;
|
|
hcHelpUsingHelp = hcShift+cmHelpUsingHelp;
|
|
hcHelpFiles = hcShift+cmHelpFiles;
|
|
hcUpdate = hcShift+cmUpdate;
|
|
|
|
hcOpenAtCursor = hcShift+cmOpenAtCursor;
|
|
hcBrowseAtCursor = hcShift+cmBrowseAtCursor;
|
|
hcEditorOptions = hcShift+cmEditorOptions;
|
|
|
|
{ History constants }
|
|
hisChDirDialog = 2000;
|
|
|
|
CIDEHelpDialog =
|
|
#128#129#130#131#132#133#134#135#136#137#138#139#140#141#142#143 +
|
|
#144#145#146#147#148#149#150#151#152#153#154#155#156#157#158#159 +
|
|
#160#161#162#163 +
|
|
#164#165#166;
|
|
|
|
CSourceWindow =
|
|
#167#168#169#170#171#172#173#174#175#176#177#178#179#180#181#182 +
|
|
#183#184#185#186#187#188#189#190#191#192#193#194#195#196#197#198 +
|
|
#199#200#201#202#203#204#205#206#207#208#209#210#211#212#213#214 ;
|
|
|
|
CIDEAppColor = CAppColor +
|
|
{ CIDEHelpDialog }
|
|
{128-143}#$70#$7F#$7A#$13#$13#$70#$70#$7F#$7E#$20#$2B#$2F#$78#$2E#$70#$30 + { 1-16}
|
|
{144-159}#$3F#$3E#$1F#$2F#$1A#$20#$72#$31#$31#$30#$2F#$3E#$31#$13#$38#$00 + {17-32}
|
|
{160-163}#$30#$3E#$1E#$70 + { CHelpViewer } {33-36}
|
|
{164-166}#$30#$3F#$3A + { CHelpFrame } {37-39}
|
|
{ CSourceWindow }
|
|
{167-182}#$17#$1F#$1A#$31#$31#$1E#$71#$1F#$00#$00#$00#$00#$00#$00#$00#$00 + { 1-16}
|
|
{183-198}#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00#$00 + {17-32}
|
|
{199-214}#$1E#$1F#$17#$1F#$1E#$1B#$13#$1A#$1E#$71#$3F#$1F#$1C#$00#$00#$4E ; {33-48}
|
|
|
|
implementation
|
|
|
|
END.
|
|
{
|
|
$Log$
|
|
Revision 1.1 1998-12-22 14:27:54 peter
|
|
* moved
|
|
|
|
Revision 1.3 1998/12/22 10:39:41 peter
|
|
+ options are now written/read
|
|
+ find and replace routines
|
|
|
|
}
|