WML Syntax Highlighting for various editors index

The place to post your WML questions and answers.

Moderators: Forum Moderators, Developers

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.

WML Syntax Highlighting for various editors index

Postby Forum Moderators Team » November 15th, 2006, 10:07 am

Here you can find configuration files to enable WML syntax highlighting for various text editors :

  • Gedit (and other Gnome based editors): Has full WML support and partial inline lua support.
    wml.lang goes in /usr/share/gtksourceview-3.0/language-specs.
    cobalt-wml.xml goes in /usr/share/gtksourceview-3.0/styles.
    screenshots:

    download:
  • Notepad++: https://forums.wesnoth.org/viewtopic.php?f=21&t=44392

Last edited by Noyga on October 9th, 2007, 5:39 pm, edited 4 times in total.
User avatar
Forum Moderators Team
Battle for Wesnoth
 
Location: #wesnoth @ irc.freenode.net

Re: WML Syntax Highlighting for various editors index

Postby lipk » December 30th, 2011, 11:43 am

Since the gedit stuff is pretty much outdated and won't work anymore, I made a new one for gtksourceview 3. Extract it into /home/you/.local/share/gtksourceview-3.0/language-specs/, and let me know if something doesn't work.
edit: I've already found something broken. I should really test my stuff more carefully before sharing. But it's ok now.
Attachments
wml.lang.gz
(1.38 KiB) Downloaded 395 times
User avatar
lipk
Developer
 
Posts: 631
Joined: July 18th, 2011, 1:42 pm
Location: Here and there and everywhere

Re: WML Syntax Highlighting for various editors index

Postby FallenPhoenix » May 2nd, 2012, 12:37 am

Here is my attempt to write syntax file for AkelPad, another good editor for Windows, and my edition of Notepad++ file.
Attachments
AkelPad - WesnothWML.7z
(2.3 KiB) Downloaded 333 times
NotePad++ - WesnothWML.7z
(3.54 KiB) Downloaded 311 times
Independent translator. // Sorry for my English :)
Моя версия перевода тут.
User avatar
FallenPhoenix
 
Posts: 42
Joined: September 30th, 2011, 5:20 pm
Location: Russia

Re: WML Syntax Highlighting for various editors index

Postby Pentarctagon » November 29th, 2012, 5:47 am

I also have a gedit WML syntax highlighter here.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
Pentarctagon
Forum Administrator
 
Posts: 2921
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: WML Syntax Highlighting for various editors index

Postby SigurdFireDragon » July 28th, 2016, 8:54 pm

Here is another Notepad++ syntax highlighter. viewtopic.php?f=21&t=44392
User avatar
SigurdFireDragon
Developer
 
Posts: 318
Joined: January 12th, 2011, 2:18 am
Location: Pennsylvania, USA


Return to WML Workshop

Who is online

Users browsing this forum: No registered users and 1 guest