Xfce Forum

Sub domains
 

You are not logged in.

#1 2014-02-14 01:38:54

haimat
Member
Registered: 2014-02-08
Posts: 11

Creating custom file types for Mousepad text editor

I want to support syntax highlighting for a custom scripting language.
So I want Mousepad to recognise my custom file type.

Is there any way to define such a custom file type incl. syntax highlighting for the Mousepad text editor in Xfce 4.10?

Offline

#2 2014-02-14 02:09:11

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,998

Re: Creating custom file types for Mousepad text editor

Mousepad uses gtksourceview for syntax highlighting.
More info and a tutorial can be found here.

Hope this helps get you started.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2014-02-14 08:57:03

haimat
Member
Registered: 2014-02-08
Posts: 11

Re: Creating custom file types for Mousepad text editor

Yes, I think that will do it.
Thanks!

Offline

Board footer

Powered by FluxBB