Good evening,
The developer of the ConTeXt environment (Hans Hagen at pragma-ade.com) uses Scite as his main editor. He built a whole set of lexers for this, which enables Scite to make highlighting for all the different languages used inside ConTeXt e.g. TeX as ConTeXT, Lua, Metapost. So because Geany’s lexing is also based on Scintilla I asked myself whether it would be possible to learn Geany to use those lexers.
Kind regards
Willi
Good evening!
I would like to get Geany support ConTeXt which is like LaTeX a “taste” of the TeX typesetting environment.
First I would like to have a tags file in order to get Geany’s functionality use them. I tried to start building such a tags file:
# format=pipe
\starttext|||
\stoptext|||
\start|||
\stop|||
\startchapter||[title=,reference=,list=]|
\startsection||[title=,reference=,list=]|
\stopchapter|||
\stopsection|||
\startplacefigure||[location=,reference=,title=]|
\stopplacefigure|||
\externalfigure||[][]|
I saved this file in the tags-directory under .config/geany/tags/context.mkiv.tags.
However when trying to load this file the status tells: could not load tags file. What am I doing wrong?
How can we prevent clashes between the setups of LaTeX and ConTeXT because they both use the *.tex file-extension?
Thank you for your support
Kind regards
Willi
Finally taking the plunge and building Geany from source. Trying it out
in a VM running Xubuntu (Ubuntu with Xfce) 20.04. Installed 1.36 via
apt, works. Downloaded 1.38 source, two dependencies installed via apt
(libgtk-3-dev and intltool) and successfully ran configure, make, and
sudo make install. Everything worked but I can't find the 1.38
executable for Geany and using either the Xfce system menu or invoking
Geany from the command line still gives me 1.36. This is where the
"build from source" instructions stop. What am I doing wrong here?
- Tom
Hi there, I have been using geany for many years and I love it
I'm running linux and geany version: "Poliff" (built on or after 2019-09-30) (Using GTK+ v2.24.30 and GLib v2.48.2 runtime libraries)
I have a setting I can't change: it is the hide search/replace dialog
I have tried a number of things including editing the config file with geany not running
I am unable to keep the dialog on screen
Here are all the settings with: 'dialog' in them:
pref_main_suppress_search_dialogs=false
use_native_windows_dialogs=true
pref_search_hide_find_dialog=false
find_close_dialog=false
replace_close_dialog=false
Also the "strip trailing spaces" is fixed to strip
pref_editor_newline_strip=false
Best regards ripspin
I didn't have geany on me and couldn't install it so I tried mapping the
compile and build shortcuts to vim.
While the compile commands worked as expected in the terminal, I had
trouble with the execute command.
On Geany, my fields are :
Set Build Commands > Execute: *"./%e"*
Tools > Terminal: *xterm -fa 'Monospace' -fs 10 -e "/bin/sh %c"*
From the manual <https://www.geany.org/manual/current/#id153>, it says
> [...]The marker "%c" is substituted with the name of the Geany run script,
> which is created in the temporary directory[...]
As I found online, the script is called geany_run_script.sh and personally,
does 3 noticeable things:
- Run the execute command.
- Show the exit code of the executed program.
- Hold the terminal open and close it if the return key is pressed after
the exit code has been returned.
I am having trouble with the latter 2, so I'm asking for either the code of
geany_run_script.sh, or its temporary directory, or a bash script that
accomplishes the above 3 tasks.
Regards,
Geuristic
All,
I've developed a plugin (with guidance from Lex Trotman) that implements
bracket pair colorization based on nesting level. This makes it easier to
find start/end braces in deeply nested code that's included in many IDEs
(e.g. VS Code) and I wish were in Geany (my favorite IDE). Attached is a
demo.
I submitted a pull request here:
https://github.com/geany/geany-plugins/pull/1221
I'd love to hear thoughts and feedback .
Thanks,
Asif Amin