Hello everybody,
I've been happily using Geany for a little while now, coding mostly in
Python. I have a couple questions:
1. For a dark color scheme, eg Vibrant Ink, how do i get the active
line to not be highlighted. White text + white highlighting =
invisible text on the line I'm trying to edit. Arrgh!
2. Any debugger advice for python? I am finding winpdb is pretty slow
and actually crashes on my machine a fair amount.
I'm on a windows 7 64 bit installation.
Thanks!
--
A musician must make music, an artist must paint, a poet must write,
if he is to be ultimately at peace with himself.
- Abraham Maslow
Hi,
The default syntax highlighting orange color for strings IMO looks bad.
I wish you would change that default for many languages.
Couldn't you just throw people who like windows editors a bone and have
a GUI for syntax highlighting instead of editing a file?
Thanks.
--
http://www.fastmail.fm - The way an email service should be
Thanks for your reply. I've checked the settings you mentioned and they appear
to be set correctly.
FYI, I had to set almost all the python settings as python_xxx under
filedefs.xml/html to get them the colors right, and thankfully they were supported.
-Mike
----
From: Enrico Tr?ger <enrico.troeger(a)uvena.de> To: Geany general discussion list
<geany(a)uvena.de> Subject: Re: [Geany] HTML+Django template highlighting broken
after upgrade to 1.22 Message-ID: <503E6BFD.4080703(a)uvena.de> Content-Type:
text/plain; charset="iso-8859-1" On 29/08/12 19:16, Mike Miller wrote:
Unfortunately, this isn't documented anywhere, neither in Geany nor in
Scintilla (which actually provides the different styles).
>From a quick source-code-and-edit-config-to-verify session, here are the
styling settings you are interested in:
html_asp
python_identifier
python_default
Explanation:
let's take the following example:
"{% load pages_tags i18n %}"
{% and %} will be styled with html_asp, "load", "pages_tags" and "i18n"
will be styled with python_identifier and the spaces between with
python_default. As far as I know, more styling is not supported by the
Scintilla HTML lexer (though I would be happy to be proven wrong).
Regards,
Enrico
Hi,
when compiling/building something from Geany, the output is printed in
a nice highlighted format into the Compiler window in the bottom of
the screen. However, if the output is long, it is useful to copy the
output to a new window of the editor, but then I loose the
highlighting. Is the highlighting mode of the compiler documented
somewhere so it can be easily transformed into a custom filetype?
Regards,
Robert
Hi,
Unfortunately highlighting for my html templates was broken after upgrading to
version 1.22. I was able to fix most of it by asking geany to copy the entries
from filetypes.xml to filetypes.html.
The one remaining issue is that Django templating tags are still screwed up.
I've googled but can find no mention of how to set those, though they looked
acceptable in the previous version.
I found this below in the file but it doesn't help to set the correct colors.
How do I set the colors of the template vars and blocks?
[lexer_properties]
lexer.html.django=1
-Mike
--
-------------------------------------------------------------
Mike Miller Earth, Sol, Orion Arm, Milky Way, VSC
Hi,
When I edit a C program file in Geany, variable types such as mode_t and
off_t are colored but the variable type size_t is not.
What must I do to have size_t colored?
My system is Ubuntu/Linux.
Thanks,
Bob Parker
Hi,
I'm editing a lot of yaml lately for host deployments and finding geany's
support a bit lacking, even if my gripes are minor.
The first issue is that inline comments are highlighted as a string and not
comments, e.g.:
section:
- foo # very important option
The whole second line is string color. Second, the dash is not recognized as an
operator like the colon.
I'm expecting the - to be colored as an operator, "foo" to be colored as a
string, and everything after # to be colored as a comment. Notepad++ does the
same, so I wonder if I am doing anything wrong? The yaml parser I'm using
understands the syntax above, so why not the highlighter?
Instead I'm putting comments on their own lines, but it isn't as intuitive an
example for the recipient for specific comments. And I'd like the dash to be a
different color as it seems to be part of the string.
--
-Mike
I'm using the windows version of Geany, is there an easy way to add a
quickrun option (one click button to compile temp exe -> run temp exe - > delete temp exe) without using a batch file or other external script?
Thanks Matthew, thanks Lex -
clearing the cache worked for the .conf files, but not for
the .h files. Additionally renaming/removing
/usr/share/geany/filetype_extensions.conf then made everything work. Should
have tested the last measure by itself before, but did not
do it. Anyways, it works now. Thanks a lot! -Paul
> From: Lex Trotman <elextr(a)gmail.com>
> To: Geany general discussion list <geany(a)uvena.de>
> Subject: Re: [Geany] filetype_extensions.conf not being read?
> Message-ID:
> <CAKhWKDP=TyfA4PV6ti8geZoyJZKZR1Jg=YP6LJOVrD_zcx4yDg(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On 15 August 2012 01:26, daspostloch <daspostloch(a)googlemail.com> wrote:
>>
>> Hi,
>>
>> on my setup, filetype_extensions.conf seems not to get honored.
>>
>> An example: editing
>>
>> ~/.config/geany/filetype_extensions.conf
>>
>> to hold
>>
>> C++=*.cpp;*.cxx;*.c++;*.cc;*.c;*.h;*.hpp;*.hxx;*.h++;*.hh;*.C;*.H;*.conf;
>> Conf=*.ini;config;*rc;*.cfg;*.desktop;
>>
>> , that is, moving the *.conf from Conf to C++, does not result
>> in .conf files be treated as C++ files. This is only for illustration,
>> my actual problem is that I want my .h files to be recognized as C++
>
> Been using that for ages, works fine, Matthew is probably right clear the cache.
>
> Cheers
> Lex
>
>> rather than pure C, and then I discovered that nothing in
>> filetype_extensions.conf seems to get read/honored.
>>
>> Funnily enough, copying filetype_extensions.conf to the subdirectory
>> ~/.config/geany/filedefs results in that file itself being now
>> recognized as a C++ file. However, no other .conf files are, and
>> it also does not work if I move a .h file in that folder with .h
>> only declared as belonging to C++ (not C or Objective-C), for example.
>>
>> Any ideas what else to try / how to debug? I've restarted geany.
>>
>> Thanks! -Paul
>>
>> > geany --version
>> geany 1.22 (built on Jun 18 2012 with GTK 2.24.10, GLib 2.32.3)
>>
>> > uname -a
>> Linux host 3.4.7-1-ARCH #1 SMP PREEMPT Sun Jul 29 22:02:56 CEST 2012 x86_64
>> GNU/Linux