Hilfe - Suche - Mitglieder - Kalender
Vollansicht: Syntaxschema bearbeiten klappt nicht
HTML-Editor phase 5 Support > phase 5 - FAQ - Fehlerberichte - Problemlösungen - Diskussion > Allgemeine Diskussion zum Programm
anjak
Hallo,
als Schema läuft in ph5.3 PHP und HTML.
Wenn da jetzt ein Block "Joomla" zugefügt wird, als "Common" < und > eingetragen wird und "Schlüsselworte" unter Menge z.B. jdoc eingetragen wird (mit entsprechen spez. Farben).
Bei "Anwenden" oder auch "Speichern als" im phpinhtml.sch, wird das nit übernommen :-(((

Nimmt ph5.3 nur zei Blöcke?

Wenn PHP und HTML rausgenommen und in neuem Schema, nur mit Joomla-Block, abgespeichert und diese neue Schemadatei geladen klappt.

Was mache ich da falsch??

Danke für Hilfe, Gruß, A.
Thomas
Bitte füge Screenshots hinzu, auf denen die gemachten Einstellungen ersichtlich werden oder, noch besser, poste hier den Inhalt der geänderten phpinhtml.sch.
anjak
Hi Thomas, hier der Code der "phpinhtml.sch". Meine paar J!-Keywords stehen ja drin, aber ... :

CODE
object TPersHolder
P.Name = 'PHP in HTML'
P.SyntaxBlocks = <
item
Name = 'Default'
ID = 0
FIText = 17
BlockDelimiters = <>
end
item
Name = 'PHP'
ID = 1
ParentID = 0
CaseSensitive = True
UseMetaSymbol = True
UseMetaToWrapLines = True
MetaSymbol = '\'
FIText = 0
FIIntNum = 1
FIFloatNum = 2
FIHexNum = 3
FISymbol = 11
UseSymbols = True
UseComments = True
UseSingleLineComments = True
UseMultiLineComments = True
UseStrings = True
UseSingleLineStrings = True
UseNumbers = True
UsePrefixedNumbers = True
UseKeywords = True
BlockDelimiters = <
item
LeftDelimiter = '<?'
RightDelimiter = '?>'
DelimitersArePartOfBlock = True
end
item
LeftDelimiter = '<%'
RightDelimiter = '%>'
DelimitersArePartOfBlock = True
end
item
LeftDelimiter = '<script language="php">'
RightDelimiter = '</script>'
end>
SingleLineCommentDelimiters = <
item
FontID = 4
LeftDelimiter = '//'
end
item
FontID = 5
LeftDelimiter = '#'
end>
MultiLineCommentDelimiters = <
item
FontID = 6
LeftDelimiter = '/*'
RightDelimiter = '*/'
end>
SingleLineStringDelimiters = <
item
FontID = 7
LeftDelimiter = '"'
RightDelimiter = '"'
end
item
FontID = 8
LeftDelimiter = #39
RightDelimiter = #39
end
item
FontID = 9
LeftDelimiter = '`'
RightDelimiter = '`'
end>
NumPrefixes = <
item
LeftDelimiter = '0x'
end>
KeywordSets = <
item
FontID = 10
Name = 'keywords'
Keywords =
'break,case,class,continue,default,do,else,elseif,endfor,endif,en' +
'dswitch,endwhile,extends,for,function,global,if,int,old_function' +
',pval,return,static,string,switch,var,void,while'
end>
end
item
Name = 'HTML'
ID = 2
ParentID = 0
FIText = 36
FIIntNum = 37
FIFloatNum = 38
FIHexNum = 39
UseComments = True
UseMultiLineComments = True
UseStrings = True
UseSingleLineStrings = True
UseNumbers = True
UsePrefixedNumbers = True
UseSuffixedNumbers = True
UseMultipleNumSuffixes = False
UsePrefixedIdentifiers = True
UseKeywords = True
BlockDelimiters = <
item
LeftDelimiter = '<'
RightDelimiter = '>'
DelimitersArePartOfBlock = True
end>
MultiLineCommentDelimiters = <
item
FontID = 40
LeftDelimiter = '<!--'
RightDelimiter = '-->'
end>
SingleLineStringDelimiters = <
item
FontID = 41
LeftDelimiter = '"'
RightDelimiter = '"'
end
item
FontID = 42
LeftDelimiter = #39
RightDelimiter = #39
end>
NumPrefixes = <
item
LeftDelimiter = '#'
end>
NumSuffixes = <
item
LeftDelimiter = '%'
end>
IdentPrefixes = <
item
LeftDelimiter = '/'
end>
KeywordSets = <
item
FontID = 13
Name = 'JKeywords'
Keywords = '$mos,_JEXEC,JDEBUG,jdoc,mos'
end>
end
item
Name = 'Joomla'
ID = 3
ParentID = 0
UseKeywords = True
BlockDelimiters = <
item
LeftDelimiter = '<'
RightDelimiter = '>'
end>
KeywordSets = <
item
FontID = 14
Name = 'a'
Keywords = '$mos,_JEXEC,jdoc,mos'
end>
end>
P.FontTable = <
item
FontID = 0
GlobalAttrID = 'Script Whitespace'
BlockID = 1
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlue
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 1
GlobalAttrID = 'Script Number'
BlockID = 1
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlue
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 2
GlobalAttrID = 'Script Number'
BlockID = 1
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlue
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 3
GlobalAttrID = 'Script Number'
BlockID = 1
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlue
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 4
GlobalAttrID = 'Script Comment'
BlockID = 1
Font.Charset = DEFAULT_CHARSET
Font.Color = 4227327
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = [fsItalic]
end
item
FontID = 5
GlobalAttrID = 'Script Comment'
BlockID = 1
Font.Charset = DEFAULT_CHARSET
Font.Color = 4227327
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = [fsItalic]
end
item
FontID = 6
GlobalAttrID = 'Script Comment'
BlockID = 1
Font.Charset = DEFAULT_CHARSET
Font.Color = 4227327
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = [fsItalic]
end
item
FontID = 7
GlobalAttrID = 'Script String'
BlockID = 1
Font.Charset = DEFAULT_CHARSET
Font.Color = clMaroon
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 8
GlobalAttrID = 'Script String'
BlockID = 1
Font.Charset = DEFAULT_CHARSET
Font.Color = clMaroon
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 9
GlobalAttrID = 'Script String'
BlockID = 1
Font.Charset = DEFAULT_CHARSET
Font.Color = clMaroon
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 10
GlobalAttrID = 'Script ResWord'
BlockID = 1
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = [fsBold]
end
item
FontID = 17
GlobalAttrID = 'Whitespace'
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 36
GlobalAttrID = 'Html tags'
BlockID = 2
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlue
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 37
GlobalAttrID = 'Integer'
BlockID = 2
Font.Charset = DEFAULT_CHARSET
Font.Color = clGreen
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 38
GlobalAttrID = 'Float'
BlockID = 2
Font.Charset = DEFAULT_CHARSET
Font.Color = clGreen
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 39
GlobalAttrID = 'Integer'
BlockID = 2
Font.Charset = DEFAULT_CHARSET
Font.Color = clGreen
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 40
GlobalAttrID = 'Comment'
BlockID = 2
Font.Charset = DEFAULT_CHARSET
Font.Color = 4227327
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = [fsItalic]
end
item
FontID = 41
GlobalAttrID = 'String'
BlockID = 2
Font.Charset = DEFAULT_CHARSET
Font.Color = clMaroon
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 42
GlobalAttrID = 'String'
BlockID = 2
Font.Charset = DEFAULT_CHARSET
Font.Color = clMaroon
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 11
GlobalAttrID = 'Script Delimiters'
BlockID = 1
Font.Charset = DEFAULT_CHARSET
Font.Color = clTeal
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 14
BlockID = 3
Font.Charset = DEFAULT_CHARSET
Font.Color = clFuchsia
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = [fsBold]
end
item
FontID = 13
BlockID = 2
Font.Charset = DEFAULT_CHARSET
Font.Color = clFuchsia
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = [fsBold]
end>
P.SyntaxVersion = 3
end

Grüße, A.
Thomas
So kann der Syntaxparser Joomla-Tags nicht von HTML-Tags unterscheiden. Wenn beide mit "<" anfangen und mit ">" aufhören, wie soll er da wissen, was was ist? Schieb mal den Joomla-Block über den HTML-Block (geht einfach mit der Maus in dem Blöcke-Register), dann werden deine Joomla-Tags erkannt, aber die HTML-Tags nicht mehr. Beides geht nur, wenn die Joomla-Tags nicht auch mit "<" anfangen.
gloryforixseal
habe jetzt das black pearl installiert, aber ich finde nicht das addon wo ich per online update die incubuscam runterladen kann

habe die beschreibung sehr oft durchgelesen

kannst du mir weiter helfen ???
Dieses ist eine vereinfachte Darstellung unseres Foreninhaltes. Um die detaillierte Vollansicht mit Formatierung und Bildern zu betrachten, bitte hier klicken.
Invision Power Board © 2001-2012 Invision Power Services, Inc.