Jump to content











Photo
- - - - -

Syntax Highlighting


  • Please log in to reply
6 replies to this topic

#1 RoyM

RoyM

    Frequent Member

  • .script developer
  • 417 posts
  • Interests:"Booting and Owning".
  •  
    United States

Posted 02 April 2011 - 10:48 AM

I am Finally starting to use Editplus, and I would like to use
it to edit Winbuilder .script files. It would be nice to have Editplus
highlight the syntax similar to Winbuilders Syntax Highlighting.

Does there exist an Editplus .stx file that will accomplish this?.

In case one does not exist, Does anybody know what Syntax
highlighting Winbuilder is modeled after, in the event that
I need to make my own Editplus 3 .STX file.

I have seen references about Winbuilder v078;
(Syntax Highlighter gets word lists from WinBuilder source codeCommandLists.pas)
and I assumed pascal, and I did find some pascal.stx files
on Editplus's website but they were not quite the same.
Any help or suggestions would be appreciated.
Thanx in advance.

#2 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 02 April 2011 - 12:48 PM

Sorry that I have to disappoint you.
WinBuilder uses http://SynEdit.SourceForge.net (modified by me for WinBuilder) to build the highlights internally. You are right that CommandLists.pas is shared to synedit, but currently there is no external file created.

Peter

#3 RoyM

RoyM

    Frequent Member

  • .script developer
  • 417 posts
  • Interests:"Booting and Owning".
  •  
    United States

Posted 02 April 2011 - 05:09 PM

Thanx for the link pscEx
I'll Investigate further and see what I can come up with.

#4 RoyM

RoyM

    Frequent Member

  • .script developer
  • 417 posts
  • Interests:"Booting and Owning".
  •  
    United States

Posted 03 April 2011 - 06:40 AM

Thanks for the info pscEx, I managed to write script.stx,
a plugin for Editplus 3 v3.21, complete with syntax
highlighting similar to Winbuilders, view the included
.jpg for setting colors in .stx file, Hope everyone
likes, Since I'm new to this .stx stuff I would welcome
input on improvements.
Happy coding reboot
RoyM
script.stx

#5 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 03 April 2011 - 10:55 AM

Thanks for the info pscEx, I managed to write script.stx,
a plugin for Editplus 3 v3.21, complete with syntax
highlighting similar to Winbuilders, view the included
.jpg for setting colors in .stx file, Hope everyone
likes, Since I'm new to this .stx stuff I would welcome
input on improvements.
Happy coding reboot
RoyM
script.stx

Great!

Attached a complete WinBuilder Syntax list (extract from acual CommandsList.pas).


Peter

Attached Files



#6 RoyM

RoyM

    Frequent Member

  • .script developer
  • 417 posts
  • Interests:"Booting and Owning".
  •  
    United States

Posted 03 April 2011 - 02:11 PM

Thanks again pscEx "Very Helpful"

#7 Mikka

Mikka

    Frequent Member

  • Developer
  • 175 posts
  •  
    Germany

Posted 15 May 2013 - 04:08 PM

I know this is an old thread, and not even about the current [082] release of WB:

 

I'm seeking for syntax highlighting for Notepad++ 6.3 (as I loathe editing code within WB), but I don't consider Notepad's UDL support very intuitive.

 

I can't make use of the .stx stuff or the txt file of pscEx for it. Does anybody happen to have assembled a syntax file for the WB script format?






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users