lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Editing lilypond files with Geany


From: Tanguy Léost
Subject: Re: Editing lilypond files with Geany
Date: Wed, 02 Jun 2010 18:15:10 +0200
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706)

Federico Bruni a écrit :
But it's not working:

* Geany cannot recognize the .ly file
Maybe because this line is missing?

# default extension used when saving files
extension=ly

I don't know if it's necessary.
* no highlight and no build commands

* the only working function is... mmh, what's the name? I mean, the -
sign at the beginning of every variable or command (like /repeat
and /paper). Nesting?

shouldn't it be \repeat, \paper ?
I'm not sure I understand what you mean.
Can you try attaching your file instead of copying and pasting it?
(for example, in [keywords] primary= ... was not on a single line as it
should... I guess it's your email client fault, right? I fixed that but
probably there's still something wrong)

Yes, sure, I'll attach it to this email.
I moved my config files and copied my filetypes.lily.conf, added the lily type
in filetype_extensions, and it works.

Are you sure you used the correct file name?
In your previous mail you said it was
lilypond=*.ly,
so your file must be filetypes.lilypond.conf

Just try to run :
geany -v test.ly
just to see if it finds the correct type...

address@hidden:~$ /opt/bin/geany -v test.ly
Geany-INFO: Geany 0.19 (svn >= r4954), GTK+ 2.12.12, GLib 2.16.6
Geany-INFO: Added filetype Genie (48).
Geany-INFO: Added filetype lily (49).
Geany-INFO: Loaded:   /opt/lib/geany/filebrowser.so (Navigateur de f
Geany-INFO: /home/tanguy/test.ly : lily (UTF-8)


/Tanguy


--
_Unix IS user friendly, it is just selective about who his friends are
(°>   IM GoogleTalk:  address@hidden
//\   JID: address@hidden @msn: address@hidden
v_/_  http://tanguy.leost.free.fr


# For complete documentation of this file, please see Geany's main documentation

[settings]
lexer_filetype=Perl

# default extension used when saving files
#extension=c

# the following characters are these which a "word" can contains, see 
documentation
#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789

# if only single comment char is supported like # in this file, leave 
comment_close blank
comment_open=%{
comment_close=%}
# this is an alternative way, so multiline comments are used
#comment_open=/*
#comment_close=*/

# set to false if a comment character/string should start at column 0 of a 
line, true uses any
# indentation of the line, e.g. setting to true causes the following on 
pressing CTRL+d
        #command_example();
# setting to false would generate this
#       command_example();
# This setting works only for single line comments
comment_use_indent=true

# context action command (please see Geany's main documentation for details)
context_action_cmd=

[styling]
# foreground;background;bold;italic
default=default
comment=comment
commentline=comment
commentdoc=commentdoc
number=number
word=word
word2=word2
string=string
character=string
uuid=0x404080
preprocessor=preprocessor
operator=operator
identifier=default
stringeol=stringeol
# @"verbatim"
verbatim=0x101030
# (/regex/)
regex=0x105090
commentlinedoc=commentdoc,bold
commentdockeyword=commentdoc,bold,italic
commentdockeyworderror=commentdoc
globalclass=type

[keywords]
# all items must be in one line
primary=version book Score Staff score relative version header layout midi 
context paper simultaneous include time times key major minor bar grace 
afterGrace acciaccatura stemDown stemUp breathe
secondary=
# these are some doxygen keywords (incomplete)
docComment=attention author brief bug class code date def enum example 
exception file fn namespace note param remarks return see since struct throw 
todo typedef var version warning union

[lexer_properties]
styling.within.preprocessor=1
preprocessor.symbol.$(file.patterns.cpp)=#
preprocessor.start.$(file.patterns.cpp)=if ifdef ifndef
preprocessor.middle.$(file.patterns.cpp)=else elif
preprocessor.end.$(file.patterns.cpp)=endif

[build_settings]
# %f will be replaced by the complete filename
# %e will be replaced by the filename without extension
# (use only one of it at one time)
compiler=gcc "%f"
linker=gcc -Wall -o "%e" "%f"
run_cmd="./%e"


[build-menu]
FT_00_LB=lilypond
FT_00_CM=lilypond %f
FT_00_WD=
FT_01_LB=Visualiser le pdf
FT_01_CM=evince %e.pdf
FT_01_WD=

reply via email to

[Prev in Thread] Current Thread [Next in Thread]