You are here: PSPad forum > English discussion forum > Re: Google Protocol Buffers highlighter

Re: Google Protocol Buffers highlighter

#1 Google Protocol Buffers highlighter

Posted by: Freeman | Date: 2014-05-20 01:32 | IP: IP Logged

Here is the Google Protocol Buffers (protobuf, .proto) files syntax highlighting settings. Jan, please include it in the next PSPad release.

Quote:
;PSPad user HighLighter definition file
[Settings]
Name=Protocol Buffers
HTMLGroup=0
Label=0
FileType=.proto
CommentString=//
SlashComment=1
SharpComment=1
CComment=1
Preprocessors=1
IndentChar={
UnIndentChar=}
TabWidth=4
CaseSensitive=1
DoubleQuote=1
EscString=1
KeyWordChars=_

[KeyWords]
default=
enum=
extend=
extensions=
import=
message=
option=
optional=
package=
packed=
public=
repeated=
returns=
rpc=
service=
to=

[ReservedWords]
bool=
bytes=
double=
false=
fixed32=
fixed64=
float=
int32=
int64=
sfixed32=
sfixed64=
sint32=
sint64=
string=
true=
uint32=
uint64=

Options: Reply | Quote | Up ^


#2 Re: Google Protocol Buffers highlighter

Posted by: pspad | Date: 2014-05-20 06:29 | IP: IP Logged

Thank you

I will include it, with name: Google Protocol Buffers

Options: Reply | Quote | Up ^


#3 Re: Google Protocol Buffers highlighter

Posted by: Freeman | Date: 2014-05-20 11:36 | IP: IP Logged

Oh, I forgot reserved word max:

Quote:
[ReservedWords]
max=

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR