added synedit to component palette

git-svn-id: trunk@3859 -
This commit is contained in:
mattias 2003-02-20 00:44:01 +00:00
parent 26f3b2f876
commit e99c69d1ab
14 changed files with 394 additions and 22 deletions

8
.gitattributes vendored
View File

@ -59,6 +59,12 @@ components/htmllite/litesbs1.pas svneol=native#text/pascal
components/htmllite/litesubs.pas svneol=native#text/pascal
components/htmllite/liteun2.pas svneol=native#text/pascal
components/synedit/allunits.pp svneol=native#text/pascal
components/synedit/design/tsynautocomplete.xpm -text svneol=native#image/x-xpixmap
components/synedit/design/tsynedit.xpm -text svneol=native#image/x-xpixmap
components/synedit/design/tsynexporterhtml.xpm -text svneol=native#image/x-xpixmap
components/synedit/design/tsynmacrorecorder.xpm -text svneol=native#image/x-xpixmap
components/synedit/design/tsynmemo.xpm -text svneol=native#image/x-xpixmap
components/synedit/design/tsynmultisyn.xpm -text svneol=native#image/x-xpixmap
components/synedit/languages/synedit.de.po svneol=native#text/plain
components/synedit/languages/synedit.po svneol=native#text/plain
components/synedit/languages/synmacrorecorder.de.po svneol=native#text/plain
@ -70,6 +76,8 @@ components/synedit/syneditautocomplete.pp svneol=native#text/pascal
components/synedit/syneditexport.pas svneol=native#text/pascal
components/synedit/synedithighlighter.pp svneol=native#text/pascal
components/synedit/syneditkeycmds.pp svneol=native#text/pascal
components/synedit/syneditlazdsgn.lrs svneol=native#text/pascal
components/synedit/syneditlazdsgn.pas svneol=native#text/pascal
components/synedit/syneditmiscclasses.pp svneol=native#text/pascal
components/synedit/syneditmiscprocs.pp svneol=native#text/pascal
components/synedit/syneditplugins.pas svneol=native#text/pascal

View File

@ -1,8 +1,8 @@
#
# Don't edit, this file is generated by FPCMake Version 1.1 [2002/09/21]
# Don't edit, this file is generated by FPCMake Version 1.1 [2003/02/14]
#
default: all
MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx netware openbsd wdosx
MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx netware openbsd wdosx palmos macos macosx
override PATH:=$(subst \,/,$(PATH))
ifeq ($(findstring ;,$(PATH)),)
inUnix=1
@ -58,6 +58,9 @@ ifdef inUnix
PATHSEP=/
else
PATHSEP:=$(subst /,\,/)
ifdef inCygWin
PATHSEP=/
endif
endif
ifdef PWD
BASEDIR:=$(subst \,/,$(shell $(PWD)))
@ -107,37 +110,38 @@ endif
override FPC:=$(subst $(SRCEXEEXT),,$(FPC))
override FPC:=$(subst \,/,$(FPC))$(SRCEXEEXT)
ifndef FPC_VERSION
FPC_VERSION:=$(shell $(FPC) -iV)
FPC_COMPILERINFO:=$(shell $(FPC) -iVSPTPSOTO)
FPC_VERSION:=$(word 1,$(FPC_COMPILERINFO))
endif
export FPC FPC_VERSION
export FPC FPC_VERSION FPC_COMPILERINFO
unexport CHECKDEPEND ALLDEPENDENCIES
ifeq ($(findstring 1.0.,$(FPC_VERSION)),)
COMPILERINFO:=$(shell $(FPC) -iSP -iTP -iSO -iTO)
ifndef CPU_SOURCE
CPU_SOURCE:=$(word 1,$(COMPILERINFO))
endif
ifndef CPU_TARGET
CPU_TARGET:=$(word 2,$(COMPILERINFO))
ifdef CPU_TARGET_DEFAULT
CPU_TARGET=$(CPU_TARGET_DEFAULT)
endif
ifndef OS_SOURCE
OS_SOURCE:=$(word 3,$(COMPILERINFO))
endif
ifndef OS_TARGET
OS_TARGET:=$(word 4,$(COMPILERINFO))
ifdef OS_TARGET_DEFAULT
OS_TARGET=$(OS_TARGET_DEFAULT)
endif
endif
ifneq ($(words $(FPC_COMPILERINFO)),5)
FPC_COMPILERINFO+=$(shell $(FPC) -iSP)
FPC_COMPILERINFO+=$(shell $(FPC) -iTP)
FPC_COMPILERINFO+=$(shell $(FPC) -iSO)
FPC_COMPILERINFO+=$(shell $(FPC) -iTO)
endif
else
ifndef CPU_SOURCE
CPU_SOURCE:=$(shell $(FPC) -iSP)
CPU_SOURCE:=$(word 2,$(FPC_COMPILERINFO))
endif
ifndef CPU_TARGET
CPU_TARGET:=$(shell $(FPC) -iTP)
CPU_TARGET:=$(word 3,$(FPC_COMPILERINFO))
endif
ifndef OS_SOURCE
OS_SOURCE:=$(shell $(FPC) -iSO)
OS_SOURCE:=$(word 4,$(FPC_COMPILERINFO))
endif
ifndef OS_TARGET
OS_TARGET:=$(shell $(FPC) -iTO)
endif
OS_TARGET:=$(word 5,$(FPC_COMPILERINFO))
endif
FULL_TARGET=$(CPU_TARGET)-$(OS_TARGET)
FULL_SOURCE=$(CPU_SOURCE)-$(OS_SOURCE)
@ -557,6 +561,15 @@ FPCMADE=fpcmade.nw
ZIPSUFFIX=nw
EXEEXT=.nlm
endif
ifeq ($(OS_TARGET),macos)
PPUEXT=.ppu
ASMEXT=.s
OEXT=.o
SMARTEXT=.sl
STATICLIBEXT=.a
EXEEXT=
FPCMADE=fpcmade.mcc
endif
ifndef ECHO
ECHO:=$(strip $(wildcard $(addsuffix /gecho$(SRCEXEEXT),$(SEARCHPATH))))
ifeq ($(ECHO),)
@ -877,6 +890,24 @@ REQUIRE_PACKAGES_PASZLIB=1
REQUIRE_PACKAGES_FCL=1
REQUIRE_PACKAGES_REGEXPR=1
endif
ifeq ($(OS_TARGET),palmos)
REQUIRE_PACKAGES_RTL=1
REQUIRE_PACKAGES_PASZLIB=1
REQUIRE_PACKAGES_FCL=1
REQUIRE_PACKAGES_REGEXPR=1
endif
ifeq ($(OS_TARGET),macos)
REQUIRE_PACKAGES_RTL=1
REQUIRE_PACKAGES_PASZLIB=1
REQUIRE_PACKAGES_FCL=1
REQUIRE_PACKAGES_REGEXPR=1
endif
ifeq ($(OS_TARGET),macosx)
REQUIRE_PACKAGES_RTL=1
REQUIRE_PACKAGES_PASZLIB=1
REQUIRE_PACKAGES_FCL=1
REQUIRE_PACKAGES_REGEXPR=1
endif
ifdef REQUIRE_PACKAGES_RTL
PACKAGEDIR_RTL:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /rtl/$(OS_TARGET)/Makefile.fpc,$(PACKAGESDIR))))))
ifneq ($(PACKAGEDIR_RTL),)
@ -1149,6 +1180,11 @@ override COMPILER_UNITTARGETDIR=$(COMPILER_TARGETDIR)
override UNITTARGETDIRPREFIX=$(TARGETDIRPREFIX)
endif
endif
ifeq ($(OS_TARGET),linux)
ifeq ($(FPC_VERSION),1.0.6)
override FPCOPTDEF+=HASUNIX
endif
endif
ifdef GCCLIBDIR
override FPCOPT+=-Fl$(GCCLIBDIR)
endif
@ -1453,6 +1489,7 @@ fpc_baseinfo:
@$(ECHO) Rm........ $(RMPROG)
@$(ECHO) GInstall.. $(GINSTALL)
@$(ECHO) Echo...... $(ECHO)
@$(ECHO) Shell..... $(SHELL)
@$(ECHO) Date...... $(DATE)
@$(ECHO) FPCMake... $(FPCMAKE)
@$(ECHO) PPUMove... $(PPUMOVE)

View File

@ -20,7 +20,8 @@ uses
SynEditAutoComplete, SynhighlighterHTML, SynhighlighterCPP, SynHighlighterXML,
SynHighlighterLFM, SynHighlighterPerl, SynHighlighterMulti, SynRegExpr,
SynEditExport, SynExportHTML, SynMemo, SynMacroRecorder, SynEditPlugins,
SynEditRegexSearch, SynHighlighterPosition, SynHighlighterJava;
SynEditRegexSearch, SynHighlighterPosition, SynHighlighterJava,
SynEditLazDsgn;
implementation
@ -29,6 +30,9 @@ end.
{ =============================================================================
$Log$
Revision 1.16 2003/02/20 00:44:01 mattias
added synedit to component palette
Revision 1.15 2003/01/15 10:17:49 mattias
added java syntax highlighter

View File

@ -0,0 +1,4 @@
How to update the image resources:
../../../tools/lazres ../syneditlazdsgn.lrs *.xpm

View File

@ -0,0 +1,29 @@
/* XPM */
static char * SynAutoComplete_xpm[] = {
"18 18 8 1",
" c None",
". c #7F7F7F",
"+ c #BFBFBF",
"@ c #FFFFFF",
"# c #000000",
"$ c #00007F",
"% c #7F0000",
"& c #0000FF",
"................++",
".@@@@@@@@@@@@@@#++",
".@@$$@$@$@$$@@@#++",
".@$@@@$@$@$@$@@#++",
".@@@$@$@$@$@$@@#++",
".@$$@@@$@@$@$@@#++",
".@@@@@@$@@@@@@@#++",
".@@@@@$###########",
".@%%%%%#+++++++++#",
".@@@@@@#+&&&&++++#",
".@%%%%%#+++++++++#",
".@@@@@@#++&&+&&&+#",
".@%%%%%#+++++++++#",
".@@@@@@#+&&&+++++#",
".@%%%%%#+++++++++#",
".@@@@@@###########",
".@@@@@@@@@@@@@@#++",
".###############++"};

View File

@ -0,0 +1,30 @@
/* XPM */
static char * synedit_xpm[] = {
"18 20 7 1",
" c None",
". c #7F7F7F",
"+ c #FFFFFF",
"@ c #000000",
"# c #0000FF",
"$ c #FF0000",
"% c #00FF00",
"..................",
".++++++++++++++++@",
".++###++#+#++#+++@",
".++#++++#++++#+++@",
".++##+###+#+###++@",
".++#++#+#+#++#+++@",
".++###.##+##+##++@",
".++++++++++++++++@",
".++++++++++++++++@",
".++@@@@+$$$++++++@",
".++++++++++++++++@",
".++@@@+++++++++++@",
".++++++++++++++++@",
".++++$$+%%%%+++++@",
".++++++++++++++++@",
".++++#####+$$$+++@",
".++++++++++++++++@",
".++@@@+++++++++++@",
".++++++++++++++++@",
".@@@@@@@@@@@@@@@@@"};

View File

@ -0,0 +1,32 @@
/* XPM */
static char * SyExporterHTML_xpm[] = {
"20 21 8 1",
" c None",
". c #7F7F7F",
"+ c #BFBFBF",
"@ c #FFFFFF",
"# c #000000",
"$ c #0000FF",
"% c #FF0000",
"& c #00FF00",
"..........++++++++++",
".@@@@@@@@#++++++++++",
".@####@@@#++++++++++",
".@@@@@@@@#++++++++++",
".@$$$@%%@#+++$$$$$$$",
".@@@@@@@@#++++++++++",
".@@@&&&&@#++++++$$$$",
".@@@@@@@@#+++++$++++",
".@$$$@@@@#+++++$++++",
".@@@@@@@@#+++++$$$$$",
".#########+++++$++++",
"+++++++++++++++$++++",
"+++++++++++++++$$$$$",
"+$$+++++++++++++++++",
"+$$++++++++++++$+++$",
"+$$+$+++++++++$$$$$+",
"+$$+$$++++++++++++++",
"+$$$$$$+++++++++$$$$",
"++$$$$$++++++++$++++",
"++++$$++++++++++$+++",
"++++$++++++++$$$$$$$"};

View File

@ -0,0 +1,27 @@
/* XPM */
static char * SynMacroRecorder_xpm[] = {
"16 18 6 1",
" c None",
". c #7F7F7F",
"+ c #FFFFFF",
"@ c #000000",
"# c #00007F",
"$ c #0000FF",
"................",
".++++++++++++++@",
".++##+#+#+##+++@",
".+#+++#+#+#+#++@",
".+++#+#+#+#+#++@",
".+##+++#++#+#++@",
".++++++#+++++++@",
".+++++#++++++++@",
".++++++++++++++@",
".++++++++++++++@",
".+++$$$++$+$+++@",
".++$$$$$+$+$$++@",
".++$$$$$+$+$$$+@",
".++$$$$$+$+$$++@",
".+++$$$++$+$+++@",
".++++++++++++++@",
".++++++++++++++@",
".@@@@@@@@@@@@@@@"};

View File

@ -0,0 +1,31 @@
/* XPM */
static char * synmemo_xcf_xpm[] = {
"18 20 8 1",
" c None",
". c #7F7F7F",
"+ c #FFFFFF",
"@ c #000000",
"# c #0000FF",
"$ c #BFBFBF",
"% c #FF0000",
"& c #00FF00",
"..................",
".++++++++++++++++@",
".+#++#+++++++++++@",
".+####$#$####.#.+@",
".+#..##.##+#+#+#+@",
".+#++##++#+#+#+#+@",
".+#++#+#.#+#+##.+@",
".++++++++++++++++@",
".++++++++++++++++@",
".++@@@@+%%%++++++@",
".++++++++++++++++@",
".++@@@+++++++++++@",
".++++++++++++++++@",
".++++%%+&&&&+++++@",
".++++++++++++++++@",
".++++#####+%%%+++@",
".++++++++++++++++@",
".++@@@+++++++++++@",
".++++++++++++++++@",
".@@@@@@@@@@@@@@@@@"};

View File

@ -0,0 +1,31 @@
/* XPM */
static char * SynMultiSyn_xpm[] = {
"18 20 8 1",
" c None",
". c #7F7F7F",
"+ c #FFFFFF",
"@ c #000000",
"# c #FF0000",
"$ c #00FF00",
"% c #0000FF",
"& c #00FFFF",
"..................",
".++++++++++++++++@",
".++++++++++++++++@",
".++@@@@+###++++++@",
".++++++++++++++++@",
".++@@@+++++++++++@",
".++++++++++++++++@",
".++++##+$$$$+++++@",
".++++++++++++++++@",
".++#############+@",
".++#+++++++++++#+@",
".++#+%%%%%+&&&+#+@",
".++#+++++++++++#+@",
".++#+&&&+%%%%++#+@",
".++#+++++++++++#+@",
".++#############+@",
".++++++++++++++++@",
".++@@@+++++++++++@",
".++++++++++++++++@",
".@@@@@@@@@@@@@@@@@"};

View File

@ -0,0 +1,75 @@
LazarusResources.Add('tsynautocomplete','XPM',[
'/* XPM */'#10'static char * SynAutoComplete_xpm[] = {'#10'"18 18 8 1",'#10'"'
+' '#9'c None",'#10'".'#9'c #7F7F7F",'#10'"+'#9'c #BFBFBF",'#10'"@'#9'c #FFFF'
+'FF",'#10'"#'#9'c #000000",'#10'"$'#9'c #00007F",'#10'"%'#9'c #7F0000",'#10
+'"&'#9'c #0000FF",'#10'"................++",'#10'".@@@@@@@@@@@@@@#++",'#10'"'
+'.@@$$@$@$@$$@@@#++",'#10'".@$@@@$@$@$@$@@#++",'#10'".@@@$@$@$@$@$@@#++",'#10
+'".@$$@@@$@@$@$@@#++",'#10'".@@@@@@$@@@@@@@#++",'#10'".@@@@@$###########",'
+#10'".@%%%%%#+++++++++#",'#10'".@@@@@@#+&&&&++++#",'#10'".@%%%%%#+++++++++#"'
+','#10'".@@@@@@#++&&+&&&+#",'#10'".@%%%%%#+++++++++#",'#10'".@@@@@@#+&&&++++'
+'+#",'#10'".@%%%%%#+++++++++#",'#10'".@@@@@@###########",'#10'".@@@@@@@@@@@@'
+'@@#++",'#10'".###############++"};'#10
]);
LazarusResources.Add('tsynedit','XPM',[
'/* XPM */'#10'static char * synedit_xpm[] = {'#10'"18 20 7 1",'#10'" '#9'c N'
+'one",'#10'".'#9'c #7F7F7F",'#10'"+'#9'c #FFFFFF",'#10'"@'#9'c #000000",'#10
+'"#'#9'c #0000FF",'#10'"$'#9'c #FF0000",'#10'"%'#9'c #00FF00",'#10'"........'
+'..........",'#10'".++++++++++++++++@",'#10'".++###++#+#++#+++@",'#10'".++#+'
+'+++#++++#+++@",'#10'".++##+###+#+###++@",'#10'".++#++#+#+#++#+++@",'#10'".+'
+'+###.##+##+##++@",'#10'".++++++++++++++++@",'#10'".++++++++++++++++@",'#10
+'".++@@@@+$$$++++++@",'#10'".++++++++++++++++@",'#10'".++@@@+++++++++++@",'
+#10'".++++++++++++++++@",'#10'".++++$$+%%%%+++++@",'#10'".++++++++++++++++@"'
+','#10'".++++#####+$$$+++@",'#10'".++++++++++++++++@",'#10'".++@@@++++++++++'
+'+@",'#10'".++++++++++++++++@",'#10'".@@@@@@@@@@@@@@@@@"};'#10
]);
LazarusResources.Add('tsynexporterhtml','XPM',[
'/* XPM */'#10'static char * SyExporterHTML_xpm[] = {'#10'"20 21 8 1",'#10'" '
+#9'c None",'#10'".'#9'c #7F7F7F",'#10'"+'#9'c #BFBFBF",'#10'"@'#9'c #FFFFFF"'
+','#10'"#'#9'c #000000",'#10'"$'#9'c #0000FF",'#10'"%'#9'c #FF0000",'#10'"&'
+#9'c #00FF00",'#10'"..........++++++++++",'#10'".@@@@@@@@#++++++++++",'#10'"'
+'.@####@@@#++++++++++",'#10'".@@@@@@@@#++++++++++",'#10'".@$$$@%%@#+++$$$$$$'
+'$",'#10'".@@@@@@@@#++++++++++",'#10'".@@@&&&&@#++++++$$$$",'#10'".@@@@@@@@#'
+'+++++$++++",'#10'".@$$$@@@@#+++++$++++",'#10'".@@@@@@@@#+++++$$$$$",'#10'".'
+'#########+++++$++++",'#10'"+++++++++++++++$++++",'#10'"+++++++++++++++$$$$$'
+'",'#10'"+$$+++++++++++++++++",'#10'"+$$++++++++++++$+++$",'#10'"+$$+$++++++'
+'+++$$$$$+",'#10'"+$$+$$++++++++++++++",'#10'"+$$$$$$+++++++++$$$$",'#10'"++'
+'$$$$$++++++++$++++",'#10'"++++$$++++++++++$+++",'#10'"++++$++++++++$$$$$$$"'
+'};'#10
]);
LazarusResources.Add('tsynmacrorecorder','XPM',[
'/* XPM */'#10'static char * SynMacroRecorder_xpm[] = {'#10'"16 18 6 1",'#10
+'" '#9'c None",'#10'".'#9'c #7F7F7F",'#10'"+'#9'c #FFFFFF",'#10'"@'#9'c #000'
+'000",'#10'"#'#9'c #00007F",'#10'"$'#9'c #0000FF",'#10'"................",'
+#10'".++++++++++++++@",'#10'".++##+#+#+##+++@",'#10'".+#+++#+#+#+#++@",'#10
+'".+++#+#+#+#+#++@",'#10'".+##+++#++#+#++@",'#10'".++++++#+++++++@",'#10'".+'
+'++++#++++++++@",'#10'".++++++++++++++@",'#10'".++++++++++++++@",'#10'".+++$'
+'$$++$+$+++@",'#10'".++$$$$$+$+$$++@",'#10'".++$$$$$+$+$$$+@",'#10'".++$$$$$'
+'+$+$$++@",'#10'".+++$$$++$+$+++@",'#10'".++++++++++++++@",'#10'".++++++++++'
+'++++@",'#10'".@@@@@@@@@@@@@@@"};'#10
]);
LazarusResources.Add('tsynmemo','XPM',[
'/* XPM */'#10'static char * synmemo_xcf_xpm[] = {'#10'"18 20 8 1",'#10'" '#9
+'c None",'#10'".'#9'c #7F7F7F",'#10'"+'#9'c #FFFFFF",'#10'"@'#9'c #000000",'
+#10'"#'#9'c #0000FF",'#10'"$'#9'c #BFBFBF",'#10'"%'#9'c #FF0000",'#10'"&'#9
+'c #00FF00",'#10'"..................",'#10'".++++++++++++++++@",'#10'".+#++#'
+'+++++++++++@",'#10'".+####$#$####.#.+@",'#10'".+#..##.##+#+#+#+@",'#10'".+#'
+'++##++#+#+#+#+@",'#10'".+#++#+#.#+#+##.+@",'#10'".++++++++++++++++@",'#10'"'
+'.++++++++++++++++@",'#10'".++@@@@+%%%++++++@",'#10'".++++++++++++++++@",'#10
+'".++@@@+++++++++++@",'#10'".++++++++++++++++@",'#10'".++++%%+&&&&+++++@",'
+#10'".++++++++++++++++@",'#10'".++++#####+%%%+++@",'#10'".++++++++++++++++@"'
+','#10'".++@@@+++++++++++@",'#10'".++++++++++++++++@",'#10'".@@@@@@@@@@@@@@@'
+'@@"};'#10
]);
LazarusResources.Add('tsynmultisyn','XPM',[
'/* XPM */'#10'static char * SynMultiSyn_xpm[] = {'#10'"18 20 8 1",'#10'" '#9
+'c None",'#10'".'#9'c #7F7F7F",'#10'"+'#9'c #FFFFFF",'#10'"@'#9'c #000000",'
+#10'"#'#9'c #FF0000",'#10'"$'#9'c #00FF00",'#10'"%'#9'c #0000FF",'#10'"&'#9
+'c #00FFFF",'#10'"..................",'#10'".++++++++++++++++@",'#10'".+++++'
+'+++++++++++@",'#10'".++@@@@+###++++++@",'#10'".++++++++++++++++@",'#10'".++'
+'@@@+++++++++++@",'#10'".++++++++++++++++@",'#10'".++++##+$$$$+++++@",'#10'"'
+'.++++++++++++++++@",'#10'".++#############+@",'#10'".++#+++++++++++#+@",'#10
+'".++#+%%%%%+&&&+#+@",'#10'".++#+++++++++++#+@",'#10'".++#+&&&+%%%%++#+@",'
+#10'".++#+++++++++++#+@",'#10'".++#############+@",'#10'".++++++++++++++++@"'
+','#10'".++@@@+++++++++++@",'#10'".++++++++++++++++@",'#10'".@@@@@@@@@@@@@@@'
+'@@"};'#10
]);

View File

@ -0,0 +1,43 @@
{
/***************************************************************************
syneditlazdsgn.pas
------------------
***************************************************************************/
***************************************************************************
* *
* This source is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This code 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. See the GNU *
* General Public License for more details. *
* *
* A copy of the GNU General Public License is available on the World *
* Wide Web at <http://www.gnu.org/copyleft/gpl.html>. You can also *
* obtain it by writing to the Free Software Foundation, *
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* *
***************************************************************************
}
unit SynEditLazDsgn;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources;
implementation
initialization
{$I syneditlazdsgn.lrs}
end.

View File

@ -3289,7 +3289,9 @@ begin
OldPath:=edtOtherSources.Text;
Templates:=SetDirSeparators(
'$(LazarusDir)/lcl'
+';$(LazarusDir)/lcl/interfaces/$(LCLWidgetType)');
+';$(LazarusDir)/lcl/interfaces/$(LCLWidgetType)'
+';$(LazarusDir)/components/synedit'
+';$(LazarusDir)/components/codetools');
end else
if AButton=LibrariesPathEditBtn then begin
OldPath:=edtLibraries.Text;

View File

@ -41,7 +41,11 @@ interface
uses
Classes, LclLinux, Process,StdCtrls, Forms, Buttons, Menus, ComCtrls, Arrow,
Spin, SysUtils, Controls, CompReg, Graphics, ExtCtrls, Dialogs, Calendar,
ImgList, Grids, LResources
ImgList, Grids, LResources,
SynEditLazDsgn, SynEdit, SynCompletion, SynExportHTML, SynMacroRecorder,
SynMemo, SynHighlighterPas, SynHighlighterCPP, SynHighlighterJava,
SynHighlighterPerl, SynHighlighterHTML, SynHighlighterXML,
SynHighlighterLFM, SynHighlighterMulti
{$IFDEF DATABASE}
,db
{$ENDIF}
@ -363,6 +367,21 @@ begin
TIBQuery,TIBDatabase]);
{$ENDIF}
// synedit
RegisterComponents('SynEdit','SynEdit', [TSynEdit]);
RegisterComponents('SynEdit','SynCompletion', [TSynAutoComplete]);
RegisterComponents('SynEdit','SynExportHTML', [TSynExporterHTML]);
RegisterComponents('SynEdit','SynMacroRecorder', [TSynMacroRecorder]);
RegisterComponents('SynEdit','SynMemo', [TSynMemo]);
RegisterComponents('SynEdit','SynHighlighterPas', [TSynPasSyn]);
RegisterComponents('SynEdit','SynHighlighterCPP', [TSynCPPSyn]);
RegisterComponents('SynEdit','SynHighlighterJava', [TSynJavaSyn]);
RegisterComponents('SynEdit','SynHighlighterPerl', [TSynPerlSyn]);
RegisterComponents('SynEdit','SynHighlighterHTML', [TSynHTMLSyn]);
RegisterComponents('SynEdit','SynHighlighterXML', [TSynXMLSyn]);
RegisterComponents('SynEdit','SynHighlighterLFM', [TSynLFMSyn]);
RegisterComponents('SynEdit','SynHighlighterMulti', [TSynMultiSyn]);
// unselectable components
// components that are streamed but not selectable in the IDE
RegisterComponents('','ExtCtrls',[TPage]);