1. In FBEdit we have context sensitive help by pressing F1 on a keyword. We don't have that in Geany. What do you guys do for access to the manual?
2. I can't seem to find a way to better colorize the file format. I use Document/set file types/programming/freebasic. It seems there are two possible formats. I don't like either and would like to edit the colors used. How is this done?
3. Why doesn't the "run" icon on the toolbar activate? It works but remains grayed out.
Some Geany Questions
-
- Posts: 3
- Joined: Oct 08, 2017 14:39
- Location: Berlin/Germany
Re: Some Geany Questions
Funny, just seen solution here: viewtopic.php?f=5&t=25610
For the key i have taken F2, because on F1 is Geany-help.
Works here on Kubuntu.
Even better: Set it to "kchmviewer --stoc %s /chm-path" opens keyword-text directly.lassar wrote:I did some googling, and found that, you can use geany with kchmviewer to get context help.
Go to Edit, Preferences, Tools, Context Action.
Set it to "kchmviewer --sindex %s /chm-path"
Go to Edit, Preferences, Keybindings, go to edit section, "Context Action", press "Change button", press F1 key.
For the key i have taken F2, because on F1 is Geany-help.
Works here on Kubuntu.
Re: Some Geany Questions
Works here in Mint too. But you have to install kchmviewer.Marc Bonus wrote:Works here on Kubuntu.
Re: Some Geany Questions
Not being on Windows (chm) I have a bookmark in my browser pointing to a local copy of the documentation. Three clicks and I have the keyword. ;)
-
- Posts: 606
- Joined: Nov 28, 2012 1:27
- Location: CA, USA moving to WA, USA
- Contact:
Re: Some Geany Questions
I use Lubuntu on most of my systems.
I prefer geany: simple, lightweight, easy project management.
I also have a local copy of the docs, but the kchmviewer looks like a better answer.
There are themes for geany, a couple of them are pretty good.
https://github.com/codebrainz/geany-themes
and others. I use 'Bespin' at the moment, but others are good.
A few keywords are missing; easy to add to the filetypes.freebasic file.
The parser misses a few constructs, but minor, really.
I prefer geany: simple, lightweight, easy project management.
I also have a local copy of the docs, but the kchmviewer looks like a better answer.
There are themes for geany, a couple of them are pretty good.
https://github.com/codebrainz/geany-themes
and others. I use 'Bespin' at the moment, but others are good.
A few keywords are missing; easy to add to the filetypes.freebasic file.
The parser misses a few constructs, but minor, really.
Re: Some Geany Questions
Hi All
What I like about it:
In the filetypes.freebasic
(has to be all lower case)
[keywords]
#FreeBasic Keywords
user1= my udt field names
user2= my function / sub names
Then I can set the colours so that they really stand out.
The only downside is that you can only have 2 users, I would have liked 4.
Regards
What I like about it:
In the filetypes.freebasic
(has to be all lower case)
[keywords]
#FreeBasic Keywords
user1= my udt field names
user2= my function / sub names
Then I can set the colours so that they really stand out.
The only downside is that you can only have 2 users, I would have liked 4.
Regards
Re: Some Geany Questions
I'll have to try that out.
Re: Some Geany Questions
Hi All
Just to shortcut the hassle I went through getting answers.
In filetypes.freebasic:
[styling]
word2=keyword_2
word3=keyword_3
word4=keyword_4
word5=keyword_5
[keywords]
# FreeBasic words, all items must be in one line
keywords=abs access acos alias etc
# user definable keywords udt fields in my case.
user1=stepnbr starttime msec cycletime etc
#user2=Functions & Subs in my case.
user2=win_startup get_newfont get_bigfont machineprocess timeshow updater etc
Now in
filetypes.common
[named_styles]
keyword=0x000000;;true;false
keyword_1=keyword
keyword_2=0xB0E0E6;;true;false
keyword_3=0x4169E1;;false;true
keyword_4=0x3CB371;;false;true
All you need to do now is edit the colours.
Hope this helps.
Regards
Just to shortcut the hassle I went through getting answers.
In filetypes.freebasic:
[styling]
word2=keyword_2
word3=keyword_3
word4=keyword_4
word5=keyword_5
[keywords]
# FreeBasic words, all items must be in one line
keywords=abs access acos alias etc
# user definable keywords udt fields in my case.
user1=stepnbr starttime msec cycletime etc
#user2=Functions & Subs in my case.
user2=win_startup get_newfont get_bigfont machineprocess timeshow updater etc
Now in
filetypes.common
[named_styles]
keyword=0x000000;;true;false
keyword_1=keyword
keyword_2=0xB0E0E6;;true;false
keyword_3=0x4169E1;;false;true
keyword_4=0x3CB371;;false;true
All you need to do now is edit the colours.
Hope this helps.
Regards