IPB

Willkommen, Gast ( Anmelden | Registrierung )

> Syntaxschema Lade Problem
El_Toro
Beitrag 25.08.2006 - 8:43
Beitrag #1


Rookie


Gruppe: User
Beiträge: 5
Mitglied seit: 25.08.2006
Mitglieds-Nr.: 6.206



Hallo ich hab ein Syntaxschema in Netz gefunden aber kann es nicht laden kann mir da jemand weiterhelfen?
Wäre sehr froh, Danke.

QUELLTEXT
object TPersHolder
P.Name = 'Netinst'
P.SyntaxBlocks = <
item
Name = 'Default'
ID = 0
CaseSensitive = True
UseMetaSymbol = True
UseMetaToWrapLines = True
MetaSymbol = '\'
FIText = 0
FIIntNum = 1
FIFloatNum = 2
FIHexNum = 3
FIDirective = 4
FISymbol = 11
UseSymbols = True
UseLineDirectives = True
UseComments = True
UseSingleLineComments = True
UseMultiLineComments = True
UseStrings = True
UseSingleLineStrings = True
UseNumbers = True
UsePrefixedNumbers = True
UseSuffixedNumbers = True
UseMultipleNumSuffixes = True
UsePrefixedSuffixedNumbers = True
UsePSNumComposition = True
UseKeywords = True
BlockDelimiters = <>
LineDirectivePrefix = '#'
SingleLineCommentDelimiters = <
item
FontID = 5
LeftDelimiter = '//'
end>
MultiLineCommentDelimiters = <
item
FontID = 6
LeftDelimiter = '/*'
RightDelimiter = '*/'
end>
SingleLineStringDelimiters = <
item
FontID = 7
LeftDelimiter = #39
RightDelimiter = #39
end
item
FontID = 8
LeftDelimiter = '"'
RightDelimiter = '"'
end
item
FontID = 9
LeftDelimiter = 'L"'
RightDelimiter = '"'
end>
NumPrefixes = <
item
LeftDelimiter = '0x'
end
item
LeftDelimiter = '0X'
end>
NumSuffixes = <
item
LeftDelimiter = 'l'
end
item
LeftDelimiter = '!'
end
item
LeftDelimiter = 'u'
end
item
LeftDelimiter = 'U'
end>
NumPrefixesSuffixes = <>
KeywordSets = <
item
FontID = 10
Name = 'reserved'
Keywords
'Warning,not,E,Failure,terminated,warnings,Stopping,Terminate,failed,Waiting,
Exitcode,Error'
end>
end>
P.FontTable = <
item
FontID = 0
GlobalAttrID = 'Whitespace'
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 1
GlobalAttrID = 'Integer'
Font.Charset = DEFAULT_CHARSET
Font.Color = clGreen
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 2
GlobalAttrID = 'Float'
Font.Charset = DEFAULT_CHARSET
Font.Color = clGreen
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 3
GlobalAttrID = 'Integer'
Font.Charset = DEFAULT_CHARSET
Font.Color = clGreen
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 4
GlobalAttrID = 'Defines'
Font.Charset = DEFAULT_CHARSET
Font.Color = clGreen
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = [fsBold]
end
item
FontID = 5
GlobalAttrID = 'Comment'
Font.Charset = DEFAULT_CHARSET
Font.Color = clGray
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = [fsItalic]
end
item
FontID = 6
GlobalAttrID = 'Comment'
Font.Charset = DEFAULT_CHARSET
Font.Color = clGray
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = [fsItalic]
end
item
FontID = 7
GlobalAttrID = 'String'
Font.Charset = DEFAULT_CHARSET
Font.Color = clMaroon
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 8
GlobalAttrID = 'String'
Font.Charset = DEFAULT_CHARSET
Font.Color = clMaroon
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 9
GlobalAttrID = 'String'
Font.Charset = DEFAULT_CHARSET
Font.Color = clMaroon
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 10
GlobalAttrID = 'Reserved words'
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlue
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = [fsBold]
end
item
FontID = 11
GlobalAttrID = 'Delimiters'
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end>
P.SyntaxVersion = 3
end
Go to the top of the page
 
+Quote Post
 
Start new topic
Antworten
Conny
Beitrag 30.08.2006 - 21:10
Beitrag #2


Kommt Zeit, kommt Rat, kommt Conrad!
Gruppensymbol

Gruppe: Mods
Beiträge: 1.169
Mitglied seit: 21.11.2001
Wohnort: Altenkirchen, Westerwald
Mitglieds-Nr.: 42



Hallo Thomas,
sein Problem scheint zu sein, daß wenn er eine bestimmte Datei im Editor läd der von ihm gewollte syntaxscheme nicht (mit) geladen wird. Unklar ist (mir) ob gar nix, oder eine ander *.sch geladen wird.

Im Übrigen könnte Auge durchaus recht haben mit der Annahme, daß case sensitive gelesen wird...

cu
Conny
Go to the top of the page
 
+Quote Post
Thomas
Beitrag 01.09.2006 - 9:22
Beitrag #3


Nachschlagewerk des Orakels
Gruppensymbol

Gruppe: Mods
Beiträge: 955
Mitglied seit: 29.08.2006
Wohnort: Frankfurt am Main
Mitglieds-Nr.: 6.217



ZITAT(Conny @ 30.08.2006 - 22:10) *
Hallo Thomas,
sein Problem scheint zu sein, daß wenn er eine bestimmte Datei im Editor läd der von ihm gewollte syntaxscheme nicht (mit) geladen wird. Unklar ist (mir) ob gar nix, oder eine ander *.sch geladen wird.
Also er schreibt explizit:
ZITAT(El_Toro @ 29.08.2006 - 13:20) *
bekomme nähmlich immer noch den gleichen fehler ;-(
Das sieht mir danach aus, dass er irgendeine Fehlermeldung angezeigt bekommt - oder was bedeutet sonst "man bekommt einen Fehler"?

Und wie dieser Fehler, den er bekommt, aussieht, hat er noch nicht geschrieben. Vielleicht liegt der Hase ganz woanders begraben ... ?
Go to the top of the page
 
+Quote Post
El_Toro
Beitrag 01.09.2006 - 10:02
Beitrag #4


Rookie


Gruppe: User
Beiträge: 5
Mitglied seit: 25.08.2006
Mitglieds-Nr.: 6.206



ZITAT(Thomas @ 01.09.2006 - 10:22) *
ZITAT(Conny @ 30.08.2006 - 22:10) *
Hallo Thomas,
sein Problem scheint zu sein, daß wenn er eine bestimmte Datei im Editor läd der von ihm gewollte syntaxscheme nicht (mit) geladen wird. Unklar ist (mir) ob gar nix, oder eine ander *.sch geladen wird.
Also er schreibt explizit:
ZITAT(El_Toro @ 29.08.2006 - 13:20) *
bekomme nähmlich immer noch den gleichen fehler ;-(
Das sieht mir danach aus, dass er irgendeine Fehlermeldung angezeigt bekommt - oder was bedeutet sonst "man bekommt einen Fehler"?

Und wie dieser Fehler, den er bekommt, aussieht, hat er noch nicht geschrieben. Vielleicht liegt der Hase ganz woanders begraben ... ?


Hier mal die Fehlermeldung:
Habs gerade noch mal Probiert auf einen andern Rechner und anstatt mit Deutschen XP mit Englischen WIN XP. Proton hab ich mir von der qhaut.de Seite geladen. Version 3.2

extensions.ini
QUELLTEXT
#Dateiendungen an Parser binden
asp=ASP in HTML
asm=Assembler
awk=AWK Script
bat=MS-DOS Batch Language
c=C
h=C
?=Clipper
cpp=C++ (Builder)
c++=C++ (Builder)
hpp=C++ (Builder)
h++=C++ (Builder)
C=C++ (Builder)
cc=C++ (Builder)
hh=C++ (Builder)
?=CSS, level 1
css=CSS, level 2
dfm=DFM Files
?=Fortran
?=FoxPro
sgml=XML
sgm=XML
wml=XML
ini=INI files
java=Java
js=JavaScript
html=JavaScript in HTML
htm=JavaScript in HTML
inc=JavaScript in HTML
idl=Microsoft IDL
Modula-2
Oberon
dpr=Object Pascal
pas=Object Pascal
~pa=Object Pascal
~pas=Object Pascal
?=Perl - oldstyle
pl=Perl
perl=Perl
phtml=PHP in HTML
php=PHP
php1=PHP
php2=PHP
php3=PHP
sql=PL/SQL
py=Python
python=Python
rc=Resource .RC Files
SQL (Oracle)
tcl=Tcl/Tk
vb=Visual Basic
vbs=VBScript
xml=XML
xsl=XSL
?=VBScript in HTML
log=netinst


netinst.sch
QUELLTEXT
object TPersHolder
P.Name = 'netinst'
P.SyntaxBlocks = <
item
Name = 'Default'
ID = 0
CaseSensitive = True
UseMetaSymbol = True
UseMetaToWrapLines = True
MetaSymbol = '\'
FIText = 0
FIIntNum = 1
FIFloatNum = 2
FIHexNum = 3
FIDirective = 4
FISymbol = 11
UseSymbols = True
UseLineDirectives = True
UseComments = True
UseSingleLineComments = True
UseMultiLineComments = True
UseStrings = True
UseSingleLineStrings = True
UseNumbers = True
UsePrefixedNumbers = True
UseSuffixedNumbers = True
UseMultipleNumSuffixes = True
UsePrefixedSuffixedNumbers = True
UsePSNumComposition = True
UseKeywords = True
BlockDelimiters = <>
LineDirectivePrefix = '#'
SingleLineCommentDelimiters = <
item
FontID = 5
LeftDelimiter = '//'
end>
MultiLineCommentDelimiters = <
item
FontID = 6
LeftDelimiter = '/*'
RightDelimiter = '*/'
end>
SingleLineStringDelimiters = <
item
FontID = 7
LeftDelimiter = #39
RightDelimiter = #39
end
item
FontID = 8
LeftDelimiter = '"'
RightDelimiter = '"'
end
item
FontID = 9
LeftDelimiter = 'L"'
RightDelimiter = '"'
end>
NumPrefixes = <
item
LeftDelimiter = '0x'
end
item
LeftDelimiter = '0X'
end>
NumSuffixes = <
item
LeftDelimiter = 'l'
end
item
LeftDelimiter = '!'
end
item
LeftDelimiter = 'u'
end
item
LeftDelimiter = 'U'
end>
NumPrefixesSuffixes = <>
KeywordSets = <
item
FontID = 10
Name = 'reserved'
Keywords
& #39;Warning,not,E,Failure,terminated,warnings,Stopping,Terminate,failed,Waiting,
Exitcode,Error'
end>
end>
P.FontTable = <
item
FontID = 0
GlobalAttrID = 'Whitespace'
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 1
GlobalAttrID = 'Integer'
Font.Charset = DEFAULT_CHARSET
Font.Color = clGreen
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 2
GlobalAttrID = 'Float'
Font.Charset = DEFAULT_CHARSET
Font.Color = clGreen
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 3
GlobalAttrID = 'Integer'
Font.Charset = DEFAULT_CHARSET
Font.Color = clGreen
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 4
GlobalAttrID = 'Defines'
Font.Charset = DEFAULT_CHARSET
Font.Color = clGreen
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = [fsBold]
end
item
FontID = 5
GlobalAttrID = 'Comment'
Font.Charset = DEFAULT_CHARSET
Font.Color = clGray
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = [fsItalic]
end
item
FontID = 6
GlobalAttrID = 'Comment'
Font.Charset = DEFAULT_CHARSET
Font.Color = clGray
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = [fsItalic]
end
item
FontID = 7
GlobalAttrID = 'String'
Font.Charset = DEFAULT_CHARSET
Font.Color = clMaroon
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 8
GlobalAttrID = 'String'
Font.Charset = DEFAULT_CHARSET
Font.Color = clMaroon
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 9
GlobalAttrID = 'String'
Font.Charset = DEFAULT_CHARSET
Font.Color = clMaroon
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end
item
FontID = 10
GlobalAttrID = 'Reserved words'
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlue
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = [fsBold]
end
item
FontID = 11
GlobalAttrID = 'Delimiters'
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
end>
P.SyntaxVersion = 3
end


Keine Ahnung wieso das nicht geht..

Der Beitrag wurde von El_Toro bearbeitet: 01.09.2006 - 10:03
Go to the top of the page
 
+Quote Post
i.b.g
Beitrag 01.09.2006 - 11:29
Beitrag #5


Weiss zuviel!!
Gruppensymbol

Gruppe: Mods
Beiträge: 668
Mitglied seit: 19.04.2002
Wohnort: Grimmen
Mitglieds-Nr.: 385



Hallo,

die Forensoftware macht zwar an dieser Stelle ein wenig den Code kaputt, aber in diesem Abschnitt des Schemas scheint etwas nicht in Orndung zu sein:
ZITAT(El_Toro @ 01.09.2006 - 11:02) *
netinst.sch
QUELLTEXT
object TPersHolder
...
KeywordSets = <
item
FontID = 10
Name = 'reserved'
Keywords
& #39;Warning,not,E,Failure,terminated,warnings,Stopping,Terminate,failed,Waiting,
Exitcode,Error'
end>
...

Es sollte so aussehen, dass nach Keywords ein "=" kommt und die dann folgende Zeile mit einem Apostroph beginnt.

Hoffe, dass das die Lösung ist.
Go to the top of the page
 
+Quote Post
Thomas
Beitrag 01.09.2006 - 11:58
Beitrag #6


Nachschlagewerk des Orakels
Gruppensymbol

Gruppe: Mods
Beiträge: 955
Mitglied seit: 29.08.2006
Wohnort: Frankfurt am Main
Mitglieds-Nr.: 6.217



ZITAT(i.b.g @ 01.09.2006 - 12:29) *
in diesem Abschnitt des Schemas scheint etwas nicht in Orndung zu sein:
ZITAT(El_Toro @ 01.09.2006 - 11:02) *
netinst.sch
QUELLTEXT
Keywords
& #39;Warning,not,E,Failure,terminated,warnings,Stopping,Terminate,failed,Waiting,
Exitcode,Error'
Sehe ich auch so. Einfach statt dem obigen Code
QUELLTEXT
Keywords = ''
einsetzen und dann geht's (zumindest ging es nach dieser Änderung bei mir auf dem Rechner). Dann musst du nur noch mit dem Syntaxschema-Editor die Schlüsselworte nachtragen.

Oder Besser noch zwischen die '' gleich noch
QUELLTEXT
Warning,not,E,Failure,terminated,warnings,Stopping,Terminate,failed,Waiting,Exit
code,Error
einsetzen, dann passt es direkt.

Ach ja: Der Syntaxschema-Editor befindet sich im Menü unter "Einstellungen/Syntaxschema bearbeiten ..." und bearbeitet jeweils das aktuelle Syntaxschema (man kann aber auch eins aus einer Datei zum Bearbeiten öffnen).

Edit: Ich sehe gerade, dass das Forum ein ' in "& #39;" umwandelt, insofern wundert mich das Ganze jetzt etwas, dennoch konnte ich nach entsprechender Änderung der Datei das Syntaxschama fehlerfrei laden ...

Der Beitrag wurde von Thomas bearbeitet: 01.09.2006 - 12:04
Go to the top of the page
 
+Quote Post
Thomas
Beitrag 01.09.2006 - 12:34
Beitrag #7


Nachschlagewerk des Orakels
Gruppensymbol

Gruppe: Mods
Beiträge: 955
Mitglied seit: 29.08.2006
Wohnort: Frankfurt am Main
Mitglieds-Nr.: 6.217



Und noch einer: Das Forum verreißt den ' wohl nur, wenn der nachfolgende Text keine Leerzeichen enthält und so lang ist, dass er umbricht.

Keywords = 'foo,bar'

geht

Keywords = 'foo,bar,foo,bar,foo,bar,foo,bar,foo,bar,foo,bar,foo,bar,foo,bar,foo,bar,foo,
bar,foo,bar,foo,bar,foo,bar'

geht nicht (weil zu lang und ohne Leerzeichen).

Keywords = 'foo, bar, foo, bar, foo, bar, foo, bar, foo, bar, foo, bar, foo, bar, foo, bar, foo, bar, foo, bar, foo, bar'

geht wieder (zwar zu lang, aber mit Leerzeichen). Ich vermute mal, dass es eine Funktion gibt, die dafür zuständig ist, lange Strings ohne Leerzeichen zwangsumzubrechen, und die scheint das Singlequote zu zerschießen.
Go to the top of the page
 
+Quote Post
Thomas
Beitrag 01.09.2006 - 12:47
Beitrag #8


Nachschlagewerk des Orakels
Gruppensymbol

Gruppe: Mods
Beiträge: 955
Mitglied seit: 29.08.2006
Wohnort: Frankfurt am Main
Mitglieds-Nr.: 6.217



Ich hab das Phänomen mal an entsprechender Stelle gepostet ...

Der Beitrag wurde von Thomas bearbeitet: 01.09.2006 - 12:47
Go to the top of the page
 
+Quote Post
El_Toro
Beitrag 02.09.2006 - 12:29
Beitrag #9


Rookie


Gruppe: User
Beiträge: 5
Mitglied seit: 25.08.2006
Mitglieds-Nr.: 6.206



ZITAT(Thomas @ 01.09.2006 - 13:47) *
Ich hab das Phänomen mal an entsprechender Stelle gepostet ...


Hi Thomas,

nach dem ich deine netinstall.sch Datei runtergeladen habe hat es funktioniert.
Daher denke ich mal das irgendwo nen Syntaxfehler drin war...

Danke & Viele Grüße

EL_Toro
Go to the top of the page
 
+Quote Post
Thomas
Beitrag 04.09.2006 - 11:22
Beitrag #10


Nachschlagewerk des Orakels
Gruppensymbol

Gruppe: Mods
Beiträge: 955
Mitglied seit: 29.08.2006
Wohnort: Frankfurt am Main
Mitglieds-Nr.: 6.217



ZITAT(El_Toro @ 02.09.2006 - 13:29) *
Hi Thomas,

nach dem ich deine netinstall.sch Datei runtergeladen habe hat es funktioniert.
Daher denke ich mal das irgendwo nen Syntaxfehler drin war...

Danke & Viele Grüße

EL_Toro
Denke ich auch, wenn mir auch nicht ganz klar ist, wo der liegt, da ja der bei mit aufgetretene Fehler nur aus der fehlerhaften Darstellung hier im Forum resultiert - aber schön, dass ich dir helfen konnte smile.gif.
Go to the top of the page
 
+Quote Post

Beiträge in diesem Thema
- El_Toro   Syntaxschema Lade Problem   25.08.2006 - 8:43
- - Conny   Hallo, eine *.sch - Datei muss zunächst in der Dat...   25.08.2006 - 16:46
|- - El_Toro   ZITAT(Conny @ 25.08.2006 - 17:46) Ha...   29.08.2006 - 12:20
|- - Conny   Hallo, ZITAT(El_Toro @ 29.08.2006 - 11...   29.08.2006 - 15:35
||- - El_Toro   ZITAT(Conny @ 29.08.2006 - 16:35) Ha...   29.08.2006 - 17:11
|- - Auge   Hallo ZITAT(El_Toro @ 29.08.2006 - 13...   29.08.2006 - 18:23
|- - Thomas   ZITAT(El_Toro @ 29.08.2006 - 13:20) ...   30.08.2006 - 18:04
- - Conny   Hallo Thomas, sein Problem scheint zu sein, daß we...   30.08.2006 - 21:10
|- - Thomas   ZITAT(Conny @ 30.08.2006 - 22:10) Ha...   01.09.2006 - 9:22
|- - El_Toro   ZITAT(Thomas @ 01.09.2006 - 10:22) Z...   01.09.2006 - 10:02
|- - i.b.g   Hallo, die Forensoftware macht zwar an dieser Ste...   01.09.2006 - 11:29
|- - Thomas   ZITAT(i.b.g @ 01.09.2006 - 12:29) in...   01.09.2006 - 11:58
|- - Thomas   Die Datei, die ich mit dem Eintrag log=netinst in...   01.09.2006 - 12:20
|- - Thomas   Und noch einer: Das Forum verreißt den ' wohl ...   01.09.2006 - 12:34
|- - Thomas   Ich hab das Phänomen mal an entsprechender Stelle ...   01.09.2006 - 12:47
|- - El_Toro   ZITAT(Thomas @ 01.09.2006 - 13:47) I...   02.09.2006 - 12:29
|- - Thomas   ZITAT(El_Toro @ 02.09.2006 - 13:29) ...   04.09.2006 - 11:22
- - i.b.g   Hallo miteinander, ich habe es ausprobiert. Das E...   31.08.2006 - 6:37
- - db   Sollte man nach PROTON verschieben.   02.09.2006 - 12:45
|- - Conny   ZITAT(db @ 02.09.2006 - 11:45) Sollt...   03.09.2006 - 9:08
|- - db   ZITAT(Conny @ 03.09.2006 - 10:08) ZI...   03.09.2006 - 16:15
- - Conny   Hallo Dieter, ZITAT(Dieter)...Bin erst in der Sour...   03.09.2006 - 19:15


Reply to this topicStart new topic
1 Besucher lesen dieses Thema (Gäste: 1 | Anonyme Besucher: 0)
0 Mitglieder:

 



RSS Vereinfachte Darstellung Aktuelles Datum: 18.04.2024 - 11:32

taschenkalender
expertise-panel IPS Driver Error

IPS Driver Error

There appears to be an error with the database.
You can try to refresh the page by clicking here