[Geany-Users] Re: disable SHIFT+DELETE?

2024-05-29 Thread Lex Trotman via Users
On Thu, 30 May 2024 at 05:57, Ben Mitch via Users  wrote:
>
> Thanks for your reply. I did a bit more considering given what you
> suggested, and that has led me to find this line:
>
> {Keys::Delete,  SCI_SHIFT,  Message::Cut}
>
> in /scintilla/src/KeyMap.cxx. I think that means that the shortcut is
> one of the defaults for the Scintilla component, and... then I'm
> guessing... that any of these that Geany does not explicitly override
> are present in the editor.

Correct, Geany does not override any of the basic editing keys
defaulted in Scintilla.

>
> I can't see any way to 'mute' that shortcut, then, without a recompile,

Correct, or a plugin that intercepts the keystrokes before anything
else, but writing that is probably more effort than recompiling Geany.

> but I've settled for assigning that shortcut for something as innocuous
> as I can find (it'd be great to be able to map it to 'DELETE' but that
> seems to not be possible). This works well enough.

Recompile or plugin probably could.

Cheers
Lex

>
> Thanks again for the help,
>
> Best wishes, Ben
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Using geany to edit git commit messages

2024-05-02 Thread Lex Trotman via Users
[...]
> >You need to add --new-instance to ensure git can wait until you finish
> >editing before it continues.
> >
> >Cheers
> >Lex
> >
> >>
> >> Thanks.
> >>
> >> ___
> >> Users mailing list -- users@lists.geany.org
> >> To unsubscribe send an email to users-le...@lists.geany.org
> >___
> >Users mailing list -- users@lists.geany.org
> >To unsubscribe send an email to users-le...@lists.geany.org
>
> So "git commit --new-instance"?

No, to the geany command that git runs.

Cheers
Lex

> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Using geany to edit git commit messages

2024-05-01 Thread Lex Trotman via Users
On Thu, 2 May 2024 at 12:06, H via Users  wrote:
>
> Geany 1.37 and Linux. I'd like to use geany to edit my git commit messages. I 
> have configured git so that when I type "git commit", an edit window for the 
> commit message opens in geany and showing the git commit.template I have 
> created.
>
> Not sure what I am doing wrong, but after typing my commit message in geany, 
> saving it and then closing that window, the just-created commit message does 
> not seem to have found its way to git so that I can later push to my 
> repository. Am I doing something wrong? Have I missed a step or misunderstood 
> something?
>
> I know that I can use the Version Control plug-in in geany to create commit 
> messages but would like to use the sequence I just described above if I can 
> get it to work.

You need to add --new-instance to ensure git can wait until you finish
editing before it continues.

Cheers
Lex

>
> Thanks.
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: consultation

2024-04-21 Thread Lex Trotman via Users
On Mon, 22 Apr 2024 at 02:21, Rodolfo via Users  wrote:
>
> Hi, i am Rodolfo.
> is there any plugin for live server with autosave?.
> is there any plugin for icons - type files?.
> How do I preview html as I write it?.

There is https://plugins.geany.org/webhelper.html.  Not sure how much it does.

Cheers
Lex


> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: New custom highlights

2024-04-13 Thread Lex Trotman via Users
On Sat, 13 Apr 2024 at 20:15, Fulvio via Users  wrote:
>
> Il giorno sab, 13/04/2024 alle 16.41 +1000, Lex Trotman via Users ha
> scritto:
> > The name of your language is Pbasic but the entry in
> > filetype_extensions.conf uses PBasic, they must be identical.
>
> I spotted this previously, but I think I published an old file.
> I've seen a better results after correcting.
> I should look for a disctintion because it seems that not all the
> keywords are highlighted.

Many of the words in your wordlists contain characters that the
freebasic lexer may not accept as part of an identifier.

AFAICT as a regex its [#a-zA-Z][a-zA-Z0-9_]* so if any of those words
you have that start with $ or _ etc occur in the file they will be
recognised as an operator followed by an identifier.

Since only the identifier part is compared to the words list the list
members with errant characters will never be found.  This appears to
be a limitation of the freebasic lexer.

Cheers
Lex

>
> Fulvio
>
> PS. Sorry about confusing the mailist and the private emails. I correct
> mi mailer.
>
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: New custom highlights

2024-04-13 Thread Lex Trotman via Users
Putting it back on the ML.  Fulvio, do not reply to individuals, reply
to the list.

On Sat, 13 Apr 2024 at 16:02, Lex Trotman  wrote:
>
> On Sat, 13 Apr 2024 at 13:51, Fulvio  wrote:
> >
> > Il giorno ven, 12/04/2024 alle 18.59 +1000, Lex Trotman ha scritto:
> > > Good, that will make them available for examination on any device
> > > with
> > > a browser, eg a phone or a tablet where unzipping isn't readily
> > > available.
> > >
> > I make the files available to see in a plain format at
> > https://github.com/Fulvio57/DataShare
> >
> > Any review is very appreciated.
>
> Freebasic is case insensitive Dim == dim == diM so the lexer converts
> all identifiers to lower case before comparing to the word lists, so
> for this language all your wordlists need to be in lower case, then
> they are recognised. (hint select the wordlist, Edit->Format->Toggle
> Case of selection)
>
> The name of your language is Pbasic but the entry in
> filetype_extensions.conf uses PBasic, they must be identical.
>
> Cheers
> Lex
>
> >
> > Fulvio
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: New custom highlights

2024-04-12 Thread Lex Trotman via Users
On Fri, 12 Apr 2024 at 17:44, Fulvio via Users  wrote:
>
> Il giorno ven, 12/04/2024 alle 16.49 +1000, Lex Trotman via Users ha
> scritto:
> >  some lexical entities are highlighted that shows some lexing is
> > happening, but just to confirm is the correct filetype shown on the
> > Geany status bar?
> It's not recognized and I have to force it to have some highlighting.
> But definitely it is behaving the FreeBasic one.

Since keyword lists are loaded from the filetype, if the filetype is
not correct clearly the word lists will not be correct.

>
> > 8<--8<--8<--
>
> > Without visibility of your filetypes file its not possible to advise
> > further.
>
> Ok, I tought it was somehow necessary, but I didn't know which
> preferred mode was permitted.
>
> The file are here
> https://drive.google.com/file/d/1u5k7hJYZC3VAhiGbz0tM4JRl64FxPeLj/view?usp=sharing
> to inspect. Including a sample file.
> I presume it won't be a problem if the archive is a 7zip file.

This is not accessible, please place the files online, preferably
individually via Github Gist https://gist.github.com/ as requested,
not as a zip.

Cheers
Lex

>
> Cheers
> Fulvio
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: New custom highlights

2024-04-12 Thread Lex Trotman via Users
On Fri, 12 Apr 2024 at 15:43, Fulvio via Users  wrote:
>
> Hi folks,
> I'm trying to accomplish to have a particular highlight for a basic
> compiler.
> I could accomplish such option for Kate an Notepad++ (partially).
> I set geany up for Archlinux in Xfce4 desktop environment.
>
> I've, then copied the freebasic and I tried to change the keyword list,
> for the four available items. Since I discovered that Scintilla lexer
> has only "Keywords", "Preprocessor", "User1" and "User2" items.
> Despite that the compiler has some more items (they are seven), but I
> will  merge some of the extra items to the four ones.
>
> So I copied the /usr/share/geany/filedefs/filetypes.freebasic in
> ~/.config/geany/filedefs/ with the new name. Then I substitute the
> freebasic keywords for keywords items, I dded lexer_filetype=FreeBasic.
> Added also the name in the filetype_extensions.conf, without ommenting.
>
> I realised to make the new highlighter appear on the selection menu,
> but my source code doesn't show any keyword highlighted, just only the
> numbers and the single-line comments are visible.

If some lexical entities are highlighted that shows some lexing is
happening, but just to confirm is the correct filetype shown on the
Geany status bar?

> I was trying to set the position near to the freebasic, as filetype
> selection menu, but I could only obtain to show on top of the menu.
>
> I noted that the lines for the keywords exceed the 5760 columns for the
> line. So it seems that the keywords setting is not applied.

I am not aware of there being any limit on the length of the word
lists in the filetypes file or in Geany or Scintilla.

Without visibility of your filetypes file its not possible to advise
further.  You can paste it to a Gist and post a link here rather than
attaching it to an email (and do not include it in the email text,
mailers may clip it or generate other artifacts).

Cheers
Lex

>
> Fulvio
>
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Can't split to main.cpp - header.h - header.cpp

2024-03-20 Thread Lex Trotman via Users
On Wed, 20 Mar 2024 at 21:45, Hago Ziegler via Users
 wrote:
>
> Hi Lex,
>
> finally I got it. Now everything is compiled, I got the *.exe and it
> works as expected. :-)
>
> But I'd like to have this done automatically.
> Is there a way to tell Geany respectively
> <https://dict.leo.org/englisch-deutsch/respectively> g++ to compile
> _and_ link all *.o files in a certain directory?
>

If you make a Geany project you can set a Geany build command for that
project that runs the proper command, but you have to manually update
it when you add another file.

But in general there are many complexities with building C/C++
software with files spread over different directories, and libraries
to link, and documentation (you _do_ do that don't you? ;-) tools
needing to be run and translation tools run etc.  A "compile and link
all files in a directory" will get old very quickly in any realistic
project and Geany can only run one command per menu item.

There are specialist tools for building software, make, cmake, meson,
etc etc, choose your poison(s) and set up their control files.
Learning about build tools is part of learning C/C++ and most other
languages.

You can then set the Geany build command to run your choice from the
menu or toolbar or shortcut.

Cheers
Lex

> Regards,  Hago
>
>
> Am 19.03.2024 um 12:50 schrieb Lex Trotman via Users:
> > You havn't compiled and linked bus.cpp with DBus.cpp so the linker is
> > correctly complaining it can't find the constructor.
> >
> > Its not anything to do with Geany specifically, thats how the gcc
> > tools work.  You need to compile bus.cpp and link the result with the
> > compiled result of DBus.cpp.
> >
> > You said had used cmake with VS, and Geany is no different.  If you
> > want you can use cmake, just edit the command for the make menu entry
> > to cmake and provide the CMakeLists.txt file(s).
> >
> > Cheers
> > Lex
> >
> > On Tue, 19 Mar 2024 at 20:52, Hago Ziegler via Users
> >  wrote:
> >> Hello,
> >>
> >> I'm trying to learn C++.
> >> For the moment, I'm exploring classes and objects.
> >> I want to split my program into 3 files: DBus.cpp - bus.h - bus.cpp
> >> With Geany this doesn't work (mingw32/8.3). It only compiles, if I
> >> integrate bus.cpp into bus.h.
> >> I tried the same with Visual Studio (CMake) and it compiles the
> >> splittend files without problems.
> >>
> >> I want generally use Geany, because VS is too complex for learning, not
> >> uncomplicated to handle.
> >> What can I do?
> >>
> >>Below the 3 Files: DBus.cpp - bus.h - bus.cpp and the error file.
> >> -DBus.cpp--
> >> #include "bus.h"
> >> #include 
> >>
> >> int main() {
> >>   DBus dbus1(130, 25000, "rot");
> >>   DBus dbus2(180, 4, "blau");
> >>   dbus1.ausgabeDBus();
> >>   dbus2.ausgabeDBus();
> >> }
> >> -bus.h--
> >> #pragma once
> >> #include 
> >> #include 
> >>
> >> class DBus {
> >> private:
> >> int kw;
> >> int preis;
> >> std::string farbe;
> >> public:
> >> DBus(int KW, int Pr, std::string Far);
> >> void ausgabeDBus();
> >> int getPreis();
> >> std::string getFarbe();
> >> };
> >> --bus.cpp--
> >> #include 
> >> #include "bus.h"
> >>
> >> DBus::DBus(int KW, int Pr, std::string Far) {
> >>   kw = KW;
> >>   preis = Pr;
> >>   farbe = Far;
> >> }
> >> void DBus::ausgabeDBus() {
> >>   std::cout << "der " << farbe << "e Campingbus hat " << kw << " KW
> >> und kostete " << preis << " Euro" << std::endl;
> >> }
> >> int DBus::getPreis() {
> >>   return preis;
> >> }
> >> std::string DBus::getFarbe() {
> >>   return farbe;
> >> }
> >> -error--
> >> g++ -Wall -o "DBus"  "DBus.cpp" (im Verzeichnis:
> >> C:\Users\hz\Documents\C++\Class)
> >> C:/c/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> >> C:\Users\hz\AppData\Local\Temp\ccrZlTnk.o:DBus.cpp:(.text+0x54):
> >> undefined reference to `DBus::DBus(int, int,
> >>

[Geany-Users] Re: fonts

2024-03-20 Thread Lex Trotman via Users
The fonts in dialog boxes are set by the GTK theme you are using,
although it can be tweaked with CSS it is easier to just change the
GTK theme in your distro.

Cheers
Lex

On Wed, 20 Mar 2024 at 16:05, Ray Andrews via Users
 wrote:
>
> All:
>
> Very tiny issue: in dialogue boxes, like 'Find' or 'Replace'  the font is 
> lousy, it looks like one of those old typewriter fonts like courier or 
> something.  Can that be replaced?  No issue on the main editing screen, I get 
> the font of my  choice.  But in the Find dialogue, some of the characters are 
> easy to mistake.
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Can't split to main.cpp - header.h - header.cpp

2024-03-19 Thread Lex Trotman via Users
You havn't compiled and linked bus.cpp with DBus.cpp so the linker is
correctly complaining it can't find the constructor.

Its not anything to do with Geany specifically, thats how the gcc
tools work.  You need to compile bus.cpp and link the result with the
compiled result of DBus.cpp.

You said had used cmake with VS, and Geany is no different.  If you
want you can use cmake, just edit the command for the make menu entry
to cmake and provide the CMakeLists.txt file(s).

Cheers
Lex

On Tue, 19 Mar 2024 at 20:52, Hago Ziegler via Users
 wrote:
>
> Hello,
>
> I'm trying to learn C++.
> For the moment, I'm exploring classes and objects.
> I want to split my program into 3 files: DBus.cpp - bus.h - bus.cpp
> With Geany this doesn't work (mingw32/8.3). It only compiles, if I
> integrate bus.cpp into bus.h.
> I tried the same with Visual Studio (CMake) and it compiles the
> splittend files without problems.
>
> I want generally use Geany, because VS is too complex for learning, not
> uncomplicated to handle.
> What can I do?
>
>   Below the 3 Files: DBus.cpp - bus.h - bus.cpp and the error file.
> -DBus.cpp--
> #include "bus.h"
> #include 
>
> int main() {
>  DBus dbus1(130, 25000, "rot");
>  DBus dbus2(180, 4, "blau");
>  dbus1.ausgabeDBus();
>  dbus2.ausgabeDBus();
> }
> -bus.h--
> #pragma once
> #include 
> #include 
>
> class DBus {
>private:
>int kw;
>int preis;
>std::string farbe;
>public:
>DBus(int KW, int Pr, std::string Far);
>void ausgabeDBus();
>int getPreis();
>std::string getFarbe();
> };
> --bus.cpp--
> #include 
> #include "bus.h"
>
> DBus::DBus(int KW, int Pr, std::string Far) {
>  kw = KW;
>  preis = Pr;
>  farbe = Far;
> }
> void DBus::ausgabeDBus() {
>  std::cout << "der " << farbe << "e Campingbus hat " << kw << " KW
> und kostete " << preis << " Euro" << std::endl;
> }
> int DBus::getPreis() {
>  return preis;
> }
> std::string DBus::getFarbe() {
>  return farbe;
> }
> -error--
> g++ -Wall -o "DBus"  "DBus.cpp" (im Verzeichnis:
> C:\Users\hz\Documents\C++\Class)
> C:/c/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> C:\Users\hz\AppData\Local\Temp\ccrZlTnk.o:DBus.cpp:(.text+0x54):
> undefined reference to `DBus::DBus(int, int,
> std::__cxx11::basic_string,
> std::allocator >)'
> C:/c/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> C:\Users\hz\AppData\Local\Temp\ccrZlTnk.o:DBus.cpp:(.text+0xaf):
> undefined reference to `DBus::DBus(int, int,
> std::__cxx11::basic_string,
> std::allocator >)'
> C:/c/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> C:\Users\hz\AppData\Local\Temp\ccrZlTnk.o:DBus.cpp:(.text+0xd3):
> undefined reference to `DBus::ausgabeDBus()'
> C:/c/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> C:\Users\hz\AppData\Local\Temp\ccrZlTnk.o:DBus.cpp:(.text+0xdf):
> undefined reference to `DBus::ausgabeDBus()'
> collect2.exe: error: ld returned 1 exit status
> Kompilierung fehlgeschlagen.
>
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Auto-completion of undefined command

2024-03-12 Thread Lex Trotman via Users
On Wed, 13 Mar 2024 at 07:53, H via Users  wrote:
>
> Running geany 1.37. I am currently using geany to write css, html and twig 
> files. I have seen many use an editor called sublime but I am sticking with 
> geany.
>
> One of the capabilities of sublime is being able to type eg.:
>
> .myclass
>
> and have it converted to
>
> 
>
> 
>
> .myclass is of course only an example and I am looking for a macro that would 
> allow me to type . + some class name and have it converted analogously to 
> above. While I have extended the auto-completion capabilities by editing 
> snippets.conf, this will not work for my use case above since the class name 
> can/should be anything I choose.

This is a very specific use-case that "somebody" can write a plugin to
provide, perhaps as an expansion of the xml snippets plugin.  Its
unlikely to be added to Geany itself.

Cheers
Lex

>
> Does anyone know how to do this?
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Extending selection by another line

2024-03-09 Thread Lex Trotman via Users
See #3786


On Sun, 10 Mar 2024 at 09:01, H via Users  wrote:
>
> On 03/09/2024 04:22 PM, Little Girl via Users wrote:
> > Hey there,
> >
> > H via Users wrote:
> >
> >> Tried your modification but it still does not work properly.
> > I'm sorry. I had high hopes that it would.
> >
> >> Could I ask you try to select an entire line using SHIFT-ALT-L, then
> >> extend your selection one or more lines down using SHIFT-downarrow
> >> but then change your mind and instead extend the selection one or
> >> more lines up using SHIFT-L going above your original selection.
> >> Does this work?
> > I saw your other message in which you corrected this to say that I
> > should press Shift+Alt+L to select a paragraph, then change
> > my mind, and then press Shift+up arrow to try to select lines above
> > the existing selection. That slowly unselects my existing selection,
> > one line at a time, and then starts selecting one line at a time of
> > text above it.
> >
> >> And, does it work regardless of whether the lines below/above your
> >> original selection are longer than your original selected line?
> > I thought I'd answer this for all of these selections. The Shift+A+L
> > selects the entire paragraph. The Shift+down arrow and the Shift+up
> > arrow each select one visible line at a time, not one wrapped line,
> > so my cursor jumps down or up by only one line each time time I press
> > the down arrow or up arrow. It doesn't care about the content and
> > whether it should be considered a line because it's wrapped. It's only
> > interested in the actual visible lines.
> >
> >> Which version of geany are you running and what environment?
> > I'm using Geany 1.38 under Kubuntu 22.04 LTS on a desktop computer
> > and I keep the operating system fully up-to-date. All of its software
> > is from the Ubuntu repositories.
> >
> OK, we are in agreement, ie while you can select one entire line using 
> SHIFT-ALT-L, one cannot extend the selection by entire lines up/down.
>
> If anyone knows how to accomplish this, I would like to hear. I am surprised 
> that I seem to be the first to have a need for this?
>
> I used to use Visual Slickedit which was very powerful.
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Extending selection by another line

2024-03-08 Thread Lex Trotman via Users
shift + downarrow ?

On Sat, 9 Mar 2024 at 11:09, H via Users  wrote:
>
> Running geany 1.37. I know I can select an entire line with CTRL-ALT-L but 
> how do I then extend the selection by additional lines?
>
> Thanks.
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Transparency

2024-03-03 Thread Lex Trotman via Users
Short answer, no.

The long answer is that the terminal can be set with RGBA, which might
allow transparency, but the standard GTK colour chooser that picks the
background does not support setting alpha, so Geany just sets it to 1.

On Sun, 3 Mar 2024 at 19:14, Wellington Almeida via Users
 wrote:
>
> Hello, I would like to know if it is possible to apply transparency in the 
> terminal
> built into geany, I did not find this option in preferences ?
>
>
>
>
> --
> Wellington Almeida
> Rio de Janeiro - Brasil
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: bash colored syntax

2024-03-03 Thread Lex Trotman via Users
Not sure what you mean by colour in "bash commands"

The highlighting is of the bash syntax, eg if fi for done quoted
strings etc, so those types of items will be what is highlighted. But
if you mean lines that run executable commands then the list of
executables on any system is not fixed and nothing the highlighting
lexers could know, but syntactic items that are part of the command
(like strings) should be highlighted.

But note the highlighting lexer is not bash, some fancy bash code
might confuse and break the highlighting.

On Sun, 3 Mar 2024 at 19:13, Wellington Almeida via Users
 wrote:
>
> Hello, how can I make there be color in bash commands in shell script? Do the 
> commands display without a highlighted color?
>
> --
> Wellington Almeida
> Rio de Janeiro - Brasil
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: How to assign keybindings

2024-02-29 Thread Lex Trotman via Users
On Fri, 1 Mar 2024 at 05:03, e.antonoff--- via Users
 wrote:
>
> Hello,
>
> PROBLEM: I want to make key bindings for some custom tools I set Geany to 
> run. Geany version 1.38 "Sulamar", running on Lubuntu 22.04 LTS.
>
> So in the "Set build commands" panel I have set some custom python utilities 
> to run. Please see the included screenshot. So far so good and they work when 
> I execute them from within Geany.
>
> My accent for the question are what I defined under "Python commands" - mypy 
> and Lint (which runs 'flake8') and then on the bottom in "Execute commands" 
> as "Pythonic format" which runs 'black' (yes, unfortunately there are only 3 
> entries for "Python commands", while I need 4 in reality but so far I can 
> live with it).

Edit->Preferences->Various->build.number* can set as many menu items
to each section as you need.  They default to 0 because originally
these "Various" settings were to be added (ie there was no default
entry) by editor to settings files because Geany must be restarted for
them to take effect, so the Build menu code guarantees the default
values of 3,4,2 as shown in the Build settings dialog so errors in the
files won't make the menu unusable.  But when the Various section was
added to preferences, the code has no method to set the values to
3,4,2 in the new menu elements if the file has no entries so it shows
0 :-(.

But...

>
> Actual QUESTION is - HOW to assign key bindings for the 3 tools I am most 
> interested in - mypy, flake8 and black ?

...the keybindings menu Edit->Preferences->Keybindings->Build is
fixed, so it can only assign keybindings to the original Menu items
that existed before the build menu was made variable.  Fixing that
will take a serious redesign of the keybindings menu since the whole
thing is designed fixed AFAIK, and so nobody has done it.

But ...

>
> The "Set build commands" panel does not offer such thing and in Preferences > 
> Key bindings > Build I don't see the tools I have set in "Set build commands".
>
> In fact maybe there is a way to add any number of custom tools for Geany to 
> run with various keybindings, but I haven't figured it out yet ?

... even though you cannot set single key keybindings you can set
accelerators for all the Build commands, Alt+b to show the menu and a
character (shown underlined in the menu) to activate the command.  You
set this character in the Build settings menu by placing an underscore
in the label before the character, eg Foo_bah will make the
accelerator b.  The accelerators should be unique across all your menu
labels of course.

Bottom line, you can set as many build menu items as you want, but
can't set keybindings for any other than those that existed before the
Build menu was made variable but you can set accelerators instead.

Cheers
Lex

>
> Thanks!
>
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Finding css classes when developing website

2024-02-19 Thread Lex Trotman via Users
On Tue, 20 Feb 2024 at 12:00, H via Users  wrote:
>
> Running geany 1.37 on CentOS 7. I am working on a website using the project 
> manager and would like to be able to quickly find a particular css class in 
> any number of css files in several directories belonging to the project.
>
> I think what I would like is for css classes to be listed under the Symbols 
> tab in geany, then be able to click on the class name and open the file for 
> editing. Since the same css class might be found in multiple css files in the 
> project, the file name should also be visible.

The symbols tab is only symbols from the current file.

>
> So far, I have found that I can search for a class symbol "Find in Project 
> Files" but it is a bit awkward since it defaults to the project directory 
> whereas the css files are actually under /var/www/html/mysite/ which is an 
> external project directory. Even if I do a search, the "Find in Project 
> Files" selection resets to the actual project directory for each new search.

You could try "Find in files" which allows you to set the directory to
search in.

>
> Is what I would like to do possible? Or, is there another way of 
> accomplishing this?
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: tabbing issue

2024-01-16 Thread Lex Trotman via Users
On Wed, 17 Jan 2024 at 08:26, Ray Andrews via Users
 wrote:
>
>
> On 2024-01-16 12:39, Lex Trotman via Users wrote:
> > Can't reproduce.  Please open issues like this on the Geany github
> > issue tracker.
>
> Link?

As pointed to from the Geany website ;-) https://github.com/geany/geany/issues

>
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: tabbing issue

2024-01-16 Thread Lex Trotman via Users
Can't reproduce.  Please open issues like this on the Geany github
issue tracker.  When you report it there include what your indent
settings are and a recipe to reproduce.

Cheers
Lex

On Wed, 17 Jan 2024 at 01:30, Ray Andrews via Users
 wrote:
>
> Not sure if this is a bug or not but it looks like one:
>
> Tabbing is supposta ignore 'odd' leading spaces and take you rightward
> to the next multiple of whatever the tab size is, yes? Of course -- we
> use tabs to cure raggedness.  But I noticed something: if a line has
> auto-wrapped, then that changes -- if within the top part of a line
> (that hasn't wrapped) I hit tab, I get moved rightward (whatever tab
> size is set to) characters and what was ragged before the tab is exactly
> the same raggedness after the tab.  IOW, to appearances,  the tab simply
> adds (tab size) spaces.  If I then go to the end of the wrapped line and
> start deleting characters until the line no longer wraps, the above
> problem cures itself and every thing snaps back to normal tab behavior.
> Is this a bug or a feature?
>
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Possible VTE Bug

2024-01-13 Thread Lex Trotman via Users
On Sun, 14 Jan 2024 at 02:17, ba-open-git via Users
 wrote:
>
> No. The previous version was from "System Package" in Mint. Yes I'm starting 
> it the same way as before (locked icon on the panel).

If the previous version was a normal package and the new one is a
flatpack then its most likely something about the flatpack.  As I said
, this project does not make the flatpack, you need to ask the
flatpackager.

>
> On Friday, January 12th, 2024 at 7:45 PM, Lex Trotman via Users 
>  wrote:
>
>
> > On Fri, 12 Jan 2024 at 21:43, ba-open-git via Users
> > users@lists.geany.org wrote:
> >
> > > Not as far as I can tell. I'm running the same program the same way as 
> > > the previous Geany version.
> >
> >
> > Was the previous version from a flatpack? Are you starting Geany the
> > same way as you did the previous version?
> >
> > > On Wednesday, January 10th, 2024 at 6:33 AM, Lex Trotman via Users 
> > > users@lists.geany.org wrote:
> > >
> > > > Flatpacks are sandboxed, are you trying to do something it doesn't
> > > > allow. Note the Geany project does not make the flatpack so we can't
> > > > tell you what its restrictions are.
> > >
> > > ___
> > > Users mailing list -- users@lists.geany.org
> > > To unsubscribe send an email to users-le...@lists.geany.org
> >
> > ___
> > Users mailing list -- users@lists.geany.org
> > To unsubscribe send an email to users-le...@lists.geany.org
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Possible VTE Bug

2024-01-12 Thread Lex Trotman via Users
On Fri, 12 Jan 2024 at 21:43, ba-open-git via Users
 wrote:
>
> Not as far as I can tell. I'm running the same program the same way as the 
> previous Geany version.

Was the previous version from a flatpack?  Are you starting Geany the
same way as you did the previous version?

>
> On Wednesday, January 10th, 2024 at 6:33 AM, Lex Trotman via Users 
>  wrote:
>
>
> > Flatpacks are sandboxed, are you trying to do something it doesn't
> > allow. Note the Geany project does not make the flatpack so we can't
> > tell you what its restrictions are.
> >
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Possible VTE Bug

2024-01-10 Thread Lex Trotman via Users
Flatpacks are sandboxed, are you trying to do something it doesn't
allow.  Note the Geany project does not make the flatpack so we can't
tell you what its restrictions are.


On Wed, 10 Jan 2024 at 21:14, ba-open-git via Users
 wrote:
>
> Hello, I'm working on a program to read from a serial port via USB serial 
> device. I started working on it when I was using Geany v. 1.38. With that 
> version, it would compile and run in the VTE widget just fine. I recently 
> updated to 2.0 (through Flathub). Now whenever I start my program in the VTE 
> I keep getting a:
> Error 9 from tcgetattr: Bad file descriptor
> whenever I try to configure the port.
> I feel like this is a Geany 2.0 problem because like I mentioned, it ran fine 
> in v. 1.38. Also, my program runs fine in a separate terminal window.
>
> Sent with Proton Mail secure email.
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: simple regex question

2024-01-06 Thread Lex Trotman via Users
On Sun, 7 Jan 2024 at 10:53, Ray Andrews via Users
 wrote:
>
>
> On 2024-01-06 16:19, Lex Trotman via Users wrote:
>
> https://developer-old.gnome.org/glib/stable/glib-regex-syntax.html
>
> Thanks ... but I was hoping to have my homework done form me ;-)
>
> "Match whole word", "Match from start of word" and "Use escape
> sequences" do not apply to regexes, so those settings are made
> insensitive (greyed out) when regex is set.  Insensitive UI items
> cannot be changed which is why it behaves the way you observed.  It is
> not a bug, its the way the toolkit works.
>
> Yeah, I know the "Match ... " is incompatible, but I was expecting it to wink 
> out, or something.  Looking closely I see what you mean, the tick turns 
> subtly grey but it's really hard to notice.  Again, it's hardly important, 
> but maybe if the whole icon turned red or something it would be noticeable.  
> Nevermind!
>

How "grey" it becomes is set by your GTK theme and thats outside
Geanys control, but you can customise it with
Menu->Tools->Configuration Files->geany.css" (if it _really_ matters,
you would have to learn GTK CSS;-)

> Oh, and I did my homework :-)

As the proverb said "Give a man a regex and you feed him for a day,
teach him to regex and you feed him for life" ... or something like
that ;-)

>
> Thanks Lex.
>
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: simple regex question

2024-01-06 Thread Lex Trotman via Users
On Sun, 7 Jan 2024 at 04:49, Ray Andrews via Users
 wrote:
>
> Greetings:
>
> I'm trying to do a very simple regex: search for 'n_' followed by any
> character and preceded by any character except 'n'.  I'm no expert but
> I'm expecting this to work:
>
> [.^n]n_.
>
> ... but it don't.

https://developer-old.gnome.org/glib/stable/glib-regex-syntax.html

>
> BTW, possible bug: If I click 'Match only a whole word'  then click 'Use
> regular expressions', I can no longer unclick the former, I have to
> unclick the latter, then unclick the former, then reclick the latter.
> Not exactly a big problem but still, it seems like a bug.

"Match whole word", "Match from start of word" and "Use escape
sequences" do not apply to regexes, so those settings are made
insensitive (greyed out) when regex is set.  Insensitive UI items
cannot be changed which is why it behaves the way you observed.  It is
not a bug, its the way the toolkit works.

Cheers
Lex

>
> Thanks guys.
>
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: h4 headings in html documents not visible in Geany sidebar

2024-01-01 Thread Lex Trotman via Users
On Tue, 2 Jan 2024 at 07:25, Terry N via Users  wrote:
>
> Hello.  Does the GeanyCtags plugin for Geany (version 2.0) fix this issue (h4 
> headings in html documents not visible in Geany sidebar?)

The plugin has nothing to do with the OP, and nobody has contributed
the changes needed first to upstream uctags then to Geany.

Cheers
Lex

>
> On Thu, 10 Aug 2023 at 00:44, Little Girl via Users  
> wrote:
>>
>> Hey there,
>>
>> Lex Trotman via Users wrote:
>> >Little Girl via Users wrote:
>>
>> >> I'm not a C programmer at all, but I could give editing this file a
>> >> whirl if you like.
>>
>> >Brave!! :-)
>>
>> Some might call it foolish or crazy, but I'll go with brave.
>>
>> >Please note that the parser PR needs to be submitted to Universal
>> >ctags, not Geany.
>>
>> Yep.
>>
>> >Except for a couple of historical parsers Geany does not carry
>> >changes that are not in uctags, we have just finished a lot of
>> >effort to remove differences between Geany's parsers and upstreams.
>> >Therefore your parser "babysitter" would probably be best someone
>> >from uctags.
>>
>> Okay.
>>
>> >The Geany parsers are usually updated from upstream uctags in bulk,
>> >although a Geany PR updating a single parser from upstream would
>> >probably be accepted.
>>
>> I'm not sure what that means for Geany, but it's good that you do.
>>
>> >There will be changes to Geany as well to use the new information the
>> >parser produces.  Note that there are limited experts on this (not
>> >me) and so response to questions might be a bit slow, best to ask in
>> >an issue on Geany github not email.
>>
>> I decided to try email first, but will make an issue if that doesn't
>> work. Now to wait and see if there's a response.
>>
>> --
>> Little Girl
>>
>> There is no spoon.
>> ___
>> Users mailing list -- users@lists.geany.org
>> To unsubscribe send an email to users-le...@lists.geany.org
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: resize Color Chooser screen (or Find)?

2023-12-30 Thread Lex Trotman via Users
On Sun, 31 Dec 2023 at 09:25, bork via Users  wrote:
>
> Is it possible to resize the color chooser popup (or its button sizes, etc) 
> by any means (CSS, etc)?

The colour selector dialog is a standard GTK dialog
https://docs.gtk.org/gtk3/class.ColorChooserDialog.html so it is not
controlled by Geany.

>
> In Linux, on 1920x1080 monitor, color chooser popup is ~ 650px x 320px.
> * Too big if working in a Geany file & need to leave Color open (vs. 
> re-opening it every few min.).
> Repeately dragging it below the panel -- & back up,  is wasted time.
>
> There's a good bit wasted space on it's UI; 'Find' window is resizable (to a 
> point), but still too big to leave open, unless Geany is only window open.
>
> Maybe best? long term would be if Color / Find showed under Geany's panel 
> "grouped windows" icon, as in other apps.  Tremendously useful.
>
> Color Chooser/ Find have no window controls, so can't minimize & restore when 
> needed (be great).
>
> Color Chooser: entry fields, + / - buttons (for Hue, etc) & color name entry, 
> Apply / Cancel / Select buttons are larger than needed.  (Possibly tweak in 
> some Linux theme CSS, but unintended effects on other apps).
>
> *Probably could resize, even move _some_ of those via 
> ~/.config/geany-3.20.CSS, but I'd need each element's *exact* selector name.

You can limit CSS to Geany by using Tools->Configuration
Files->geany.css to add your tweaks.  I didn't see the usual CSS
selector list on the docs linked above, you might need to experiment.
Also IIUC different distros show different dialogs for the colour
chooser, one sensible, and one too stupidly simple.

Cheers
Lex

>
> * The (currently) selected color's swatch actually needs to be larger; 
> displayed single color is only 70 x 30 px for me.  Needs be maybe 70^2 to 
> detect actual shade (not just 'light vs. dark blue').
>
> Thanks.
>
>
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Cannot Load File from a Network Server

2023-11-24 Thread Lex Trotman via Users
On Thu, 23 Nov 2023 at 04:55, Mike Miller via Users
 wrote:
>
>
> On 2023-11-21 17.33, Lex Trotman via Users wrote:
> > There is a message to status and status bar, its not silently shrugged
> > off.
>
> Never seen that before, interesting.  Not silent perhaps but very quiet.
> Compare to gedit or xed which brings up a big highlighted banner.
>
> Unfortunately the message disappears from the status bar at the first click 
> and
> I'm a compulsive clicker.  Not great as an exclusive place for errors it 
> seems.

Geany does use the info bar for some things, a failure to open could
be added if "somebody" did it.  But the info bar could be very
annoying if it was overused.

Cheers
Lex

>
> Have never really used the message window due to editing interpreted languages
> and vertical space being precious.
>
> -Mike
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Cannot Load File from a Network Server

2023-11-21 Thread Lex Trotman via Users
On Wed, 22 Nov 2023 at 04:32, Mike Miller via Users
 wrote:
>
>
> On 2023-11-11 06:58, Pryor, Mike via Users wrote:
> > Geany silently ignores my
> > request to load the file.  Rather rude behavior, I should say.
>
>
> Reminds me of a mildly annoying issue—in that Geany will refuse to load a file
> with nulls or other "binary" data in it.
>
> Sort of understandable, but it doesn't do anything but shrug it off.

There is a message to status and status bar, its not silently shrugged
off.  Since normally Geany will actually try all encodings it knows to
see if they will work it does not show error messages from the
converters unless debug is set or the encoding is selected in the open
dialog.

That said, the open/encoding code has grown over time into a
multi-headed hydra so would not be surprised if there are not
"undocumented features" in it.

> You have
> to take the file over to gedit or something to get a proper error about
> character encoding, etc.  I long got used to it but it is a problem for new 
> users.
>
> Not sure if that is your problem, but may be part of it.
>
> The other thing is that GTK apps typically don't handle opening from URLs, so
> make sure you have a properly mounted filesystem first.  Either with fuse on
> UNIXy OSs or a Windows Drive Letter rather than UNC path, etc.
>
> -Mike
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: java 'record' keyword partially unrecognized

2023-11-21 Thread Lex Trotman via Users
The Java parser doesn't recognise records at all.  For the
example(thanks Oracle website) I used the symbols showed a record as a
method, not a class. The Java parser is very old and upstream uctags,
where most of the parsers come from, doesn't have a Java parser.  It
was hacked into a C parser, and I don't think it has been maintained
much since, I didn't see any changes relating to the Java parser
functionality since 2016 (which is as far back as I went).

It needs someone to own and maintain it.

Cheers
Lex

On Tue, 21 Nov 2023 at 17:43, novastarlight100--- via Users
 wrote:
>
> I currently use Geany for Java development, but it doesn't quite recognize 
> records. It gets the initial record declaration correctly, but ignores 
> everything else, including additional constructors, etc.
> Any solutions to this?
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Cannot Load File from a Network Server

2023-11-12 Thread Lex Trotman via Users
On Sun, 12 Nov 2023 at 20:48, Frank Lanitz via Users
 wrote:
>
> Hello,
>
> On 12.11.23 01:23, Lex Trotman via Users wrote:
> > On Sun, 12 Nov 2023 at 03:05, Pryor, Mike via Users
> >  wrote:
> >>
> >> I just started exploring 'geany' and so far, it looks promising.
> >> But when I try to open a file on our IBM I computer it fails to
> >> load the file.   Geany shows the files in the shared folder that
> >> contains the file I want, but when I select it to open, nothing
> >> happens.   No error messages.  Geany silently ignores my
> >> request to load the file.  Rather rude behavior, I should say.
> >
> > Did you check the status bar?
> >
> > What OS are you running on?
> >
> > What network file system is in use?
> >
> > What type of file are you trying to open?
>
> In addition: What's an IBM I? Is this the one related to AS/400?

As Far As Google Can Tell (AFAGCT) its now a proprietary OS for IBM
Power processors.  Since it is not *x who knows what it does.

Cheers
Lex

>
> Cheers,
> Frank
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Cannot Load File from a Network Server

2023-11-11 Thread Lex Trotman via Users
On Sun, 12 Nov 2023 at 03:05, Pryor, Mike via Users
 wrote:
>
> I just started exploring 'geany' and so far, it looks promising.
> But when I try to open a file on our IBM I computer it fails to
> load the file.   Geany shows the files in the shared folder that
> contains the file I want, but when I select it to open, nothing
> happens.   No error messages.  Geany silently ignores my
> request to load the file.  Rather rude behavior, I should say.

Did you check the status bar?

What OS are you running on?

What network file system is in use?

What type of file are you trying to open?

>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Making changes to filetypes.yaml

2023-10-30 Thread Lex Trotman via Users
On Tue, 31 Oct 2023 at 11:42, H via Users  wrote:
>
> Running geany 1.37. I wanted to make some changes when editing *.yml files so 
> that indents are always two spaces rather than my customary a tab stop of 
> four characters.
>
> I modified the filetypes.yaml file as follows (according to 
> filetype_extensions.conf, *.yaml and *.yml files are treated the same):
>
> [indentation]
> #width=4
> # 0 is spaces, 1 is tabs, 2 is tab & spaces
> #type=1
> #*.yml 2023-10-30
> width=2
> type=0
>
> After clicking on "Reload Configuration" I expected the above changes to be 
> effective, alas, they are not. Indenting a line in a *.yml file still results 
> in a tab stop of four characters.
>
> Have I missed something to make the changes becoming effective?

Nope, (assuming that you don't have a project open since that
overrides the filetype), but as the indents width and type can be set
per document they are not changed for open documents, or the user
setting would be lost.  So close and re-open the documents you want to
get the new values.

Cheers
Lex

>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Kate devs got the embedded Konsole working on Windows. Why can't we have one for Geany?

2023-10-30 Thread Lex Trotman via Users
On Tue, 31 Oct 2023 at 08:06, Enrico Tröger via Users
 wrote:
>
> To extend this:
> Kate is written using the Qt framework while Geany uses GTK.
>
> The terminal implementation which Kate uses is based on Qt and so it
> cannot be used in Geany, unfortunately.
>
> Geany uses VTE for the terminal component and it does not work Windows,
> see https://gitlab.gnome.org/GNOME/vte/-/issues/1236.
>
> nce anyone will implement Windows support in the VTE library we can
> probably use it as well.

But since the only real attempt to do something (which you linked
above) died 15+ years ago, unless a white knight rides in and actually
does it, it will never happen.

So, given the shortage of white knights these days, I would say it
will never happen.

Cheers
Lex

>
> Regards,
> Enrico
>
>
> On 30.10.23 08:28, Lex Trotman via Users wrote:
> > Because Kate is Qt and Geany is GTK?
> >
> > Cheers
> > Lex
> >
> > On Mon, 30 Oct 2023 at 16:15, akshay chavan via Users
> >  wrote:
> >>
> >> Hello,
> >>
> >> So I have been using this text editor called Kate on and off which has an 
> >> embedded terminal on Linux (which till recently did not work on Windows). 
> >> However, Kate devs have solved the problem and have got it working on 
> >> Windows 10.
> >>
> >> See this article: Introducing The Embedded Terminal on Windows - Kate 
> >> (kate-editor.org)
> >>
> >> I have tried it and it works OK.
> >>
> >> Geany has had the same problem since the beginning. The only solutions I 
> >> can find online are some workarounds involving AutoHotKey.
> >>
> >> If Kate devs can solve the issue, what keeps Geany from getting an 
> >> embedded terminal on Windows?
> >> ___
> >> Users mailing list -- users@lists.geany.org
> >> To unsubscribe send an email to users-le...@lists.geany.org
> > ___
> > Users mailing list -- users@lists.geany.org
> > To unsubscribe send an email to users-le...@lists.geany.org
> >
>
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Kate devs got the embedded Konsole working on Windows. Why can't we have one for Geany?

2023-10-30 Thread Lex Trotman via Users
Because Kate is Qt and Geany is GTK?

Cheers
Lex

On Mon, 30 Oct 2023 at 16:15, akshay chavan via Users
 wrote:
>
> Hello,
>
> So I have been using this text editor called Kate on and off which has an 
> embedded terminal on Linux (which till recently did not work on Windows). 
> However, Kate devs have solved the problem and have got it working on Windows 
> 10.
>
> See this article: Introducing The Embedded Terminal on Windows - Kate 
> (kate-editor.org)
>
> I have tried it and it works OK.
>
> Geany has had the same problem since the beginning. The only solutions I can 
> find online are some workarounds involving AutoHotKey.
>
> If Kate devs can solve the issue, what keeps Geany from getting an embedded 
> terminal on Windows?
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Raspberry pi

2023-10-23 Thread Lex Trotman via Users
This is the mailing list for the Geany IDE.  You are more likely to
get answers about CSS on a more appropriate forum.

Cheers
Lex

On Tue, 24 Oct 2023 at 15:36, Michael Dmytrasz via Users
 wrote:
>
> I am running a raspberry pi 4 64 bit and trying to create a web site. The 
> thing I am haveing trouble with is css grid. Is there a problem with css grid 
> on the raspberry pi?
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: 2.0

2023-10-22 Thread Lex Trotman via Users
GTK doesn't accept percantage for `margin-*` values, it only accepts
`` not `` that "real" CSS accepts for
those.

Cheers
Lex

PS, or of course the GTK docs could be wrong ... nah never ;-P

On Mon, 23 Oct 2023 at 01:45, Little Girl via Users
 wrote:
>
> Hey there,
>
> Enrico Tröger via Users wrote:
>
> >I hope there are better approaches but I'm not good as CSS and CSS
> >in GTK is very limited (e.g. you cannot use percentages and so it's
> >all pixel values :( ).
>
> It looks like percentages and several other unit types are accepted
> in GTK 3.0 and 4.0:
> * https://docs.gtk.org/gtk3/css-properties.html
> * https://docs.gtk.org/gtk4/css-properties.html
>
> --
> Little Girl
>
> There is no spoon.
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Geany not saving cursor position on file

2023-10-22 Thread Lex Trotman via Users
Perhaps you should make a github issue so it can be discussed, but to
save you some effort its very unlikely that monitoring of closed files
will be accepted, and open ones are already monitored.

Adding position to Geany's private "recent files" list might be
acceptable, but I suspect it hasn't been done because the GTK recent
files list does not accept it.

Cheers
Lex

On Mon, 23 Oct 2023 at 03:02, H via Users  wrote:
>
> On 10/21/2023 08:32 PM, Lex Trotman via Users wrote:
> > On Sun, 22 Oct 2023 at 03:44, Frank Lanitz via Users
> >  wrote:
> >> Cheers,
> >>
> >> On 21.10.23 18:54, H via Users wrote:
> >>> I see. However, would it not make more sense to also remember and
> >>> restore the cursor position when a file is closed and opened without
> >>> change to the session?
> >> I'm usually open/closing >>100 files during a work day. I expect a lot
> >> of complexity coming in with this feature as e.g. we need some cleanup
> >> job over time. Maybe this could be done by something like "remember the
> >> last 100 only". This might even hit the limit of what you can do with a
> >> simple ini-file (sqlite?). Well.. solvable problems though.
> > Does it need to be persistent?  Within a session its just in memory
> > and the plugin could just limit the list to a user settable number.
> >
> > Cheers
> > Lex
> >
> >> I would see such a feature however as a plugin and invite everyone who
> >> likes to work on it.
> >>
> >> Cheers,
> >> Frank
> >> ___
> >> Users mailing list -- users@lists.geany.org
> >> To unsubscribe send an email to users-le...@lists.geany.org
> > ___
> > Users mailing list -- users@lists.geany.org
> > To unsubscribe send an email to users-le...@lists.geany.org
>
> I think it should be persistent, however, it would need to handle that files 
> are renamed/moved/deleted outside Geany by utilizing those notifications.
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Geany not saving cursor position on file

2023-10-21 Thread Lex Trotman via Users
On Sun, 22 Oct 2023 at 03:44, Frank Lanitz via Users
 wrote:
>
> Cheers,
>
> On 21.10.23 18:54, H via Users wrote:
> > I see. However, would it not make more sense to also remember and
> > restore the cursor position when a file is closed and opened without
> > change to the session?
>
> I'm usually open/closing >>100 files during a work day. I expect a lot
> of complexity coming in with this feature as e.g. we need some cleanup
> job over time. Maybe this could be done by something like "remember the
> last 100 only". This might even hit the limit of what you can do with a
> simple ini-file (sqlite?). Well.. solvable problems though.

Does it need to be persistent?  Within a session its just in memory
and the plugin could just limit the list to a user settable number.

Cheers
Lex

>
> I would see such a feature however as a plugin and invite everyone who
> likes to work on it.
>
> Cheers,
> Frank
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: 2.0

2023-10-21 Thread Lex Trotman via Users
On Sun, 22 Oct 2023 at 05:53, Enrico Tröger via Users
 wrote:
>
> On 21.10.23 18:21, Georg Klingenberg via Users wrote:
> > when running Pylint
>
> Interesting, it's the same here (with another theme than Adwaita).
> AFAIR the progress bar was always at the right side of the status bar
> but it filled the full height (vertically).

Yeah, but it went on a diet :-)

Here by default it is not in the middle, but not right on the bottom either.

And as I said geany.css can move it:

progressbar {
margin: 10px 10px 20px 10px;
}

thats top right bottom left and you may need to adjust the values for
your screen resolution.

Cheers
Lex

>
> Do you or anyone else know if this was in 1.38 different?
> I could imagine this is caused by the change to GTK3 but this was
> already in 1.38.
>
> Regards,
> Enrico
>
> P.S.: Georg, you are subscribed to the list with
> firstname.surn...@gmail.com but you send your messages from
> firstnamesurn...@gmail.com and so the list a software thinks they are
> sent from someone else and I have to manually accept those mails. Not a
> big deal but it works only when I check my mails to get notified.
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Geany not saving cursor position on file

2023-10-20 Thread Lex Trotman via Users
The cursor position is not remembered when a file is closed, only
files that remain open in a session.

On Sat, 21 Oct 2023 at 10:38, H via Users  wrote:
>
> On 10/20/2023 08:35 PM, Lex Trotman via Users wrote:
> > Do the open files reload?
> >
> > So long as you are saving and loading the session the cursor position is 
> > saved
> >
> > On Sat, 21 Oct 2023 at 09:16, H via Users  wrote:
> >> Running Geany 1.37 on CentOS 7. Geany is not saving the cursor position in 
> >> files when they are saved.
> >>
> >> Is this a known bug or have I missed a setting somewhere?
> >>
> >> ___
> >> Users mailing list -- users@lists.geany.org
> >> To unsubscribe send an email to users-le...@lists.geany.org
> > ___
> > Users mailing list -- users@lists.geany.org
> > To unsubscribe send an email to users-le...@lists.geany.org
>
> I was not saving and loading a session, only individual files while still 
> having Geany open and the cursor is not restored to its previous position in 
> the file.
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: 2.0

2023-10-20 Thread Lex Trotman via Users
The position is set by the CSS of your GTK desktop theme, you can
override the theme CSS with geany.css perhaps adding `margin-bottom`
or other positioning for `progressbar`.  What value you need depends
on your chosen font and statusbar padding so can't tell you a number.

Cheers
Lex

On Sat, 21 Oct 2023 at 07:31, Georg Klingenberg via Users
 wrote:
>
> the activity indicator is right at the bottom of the status bar and not in 
> the middle, as I think it should be
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Geany not saving cursor position on file

2023-10-20 Thread Lex Trotman via Users
Do the open files reload?

So long as you are saving and loading the session the cursor position is saved

On Sat, 21 Oct 2023 at 09:16, H via Users  wrote:
>
> Running Geany 1.37 on CentOS 7. Geany is not saving the cursor position in 
> files when they are saved.
>
> Is this a known bug or have I missed a setting somewhere?
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: manual upgrade on Ubuntu 22.04 from geany 1.38 to 2.0?

2023-10-19 Thread Lex Trotman via Users
Just an explanatory side note, the Geany project does not make the
packages for distros, we don't have any specialists in packaging, and
each distro is different.  So we rely on external packagers, so
packaging speed depends on their availability.

Cheers
Lex

On Fri, 20 Oct 2023 at 08:43, o1bigtenor via Users
 wrote:
>
> On Thu, Oct 19, 2023 at 4:23 PM Mike McCauley via Users
>  wrote:
> >
> > I currently have 1.38 on my system. I received an email stating that 2.0 
> > has been released.
> >
> > I'd like to upgrade, but this
> >
> > sudo apt --only-upgrade install geany
> >
> > states that 1.38 is the latest release, and that my system is up to date.
> >
> > Geany is in neither the flatpak nor the snap installed-app list.
> >
> > How shall I proceed?
> >
>
> If you want geany 2.0 'right now' then you will have to download the
> source code and compile it yourself.
> On the other hand if you wait a bit the program will wend its way
> through the various levels of
> availability.
> (Not knowledgeable in ubuntu (haven't had ties with Canonical in a
> number of years now) but
> geany 2.0 isn't even in debian sid yet. My guess is that it will take
> at least a couple weeks (if not even longer)
> for the packaging crew to get geany 2.0 into debian sid. It will park
> there until it is proven that it
> 'plays nice' with the rest of debian for anywhere from a couple to 4
> or maybe even 5 weeks when
> it now moves to debian 'testing'. By that time iirc it should also be
> available in ubuntu but that depends upon
> the proving testing in the specific ubuntu testing so dunno any specifics!!)
>
> Would suggest patience unless you really really really need some of
> the new features.
> Then download and compile (and install).
>
> HTH
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: unable to paste whole rtl word

2023-09-16 Thread Lex Trotman via Users
The documentation for the Scintilla editing component Geany uses says
"Scintilla provides only limited experimental support on Windows for
right-to-left languages like Arabic and Hebrew. While text in these
languages may appear correct, interaction with this text may not work
correctly as occurs with other editors." so it is not surprising that
pasting may not work correctly.

Basically RTL is display only in Scintilla and so in Geany.

On Sun, 17 Sept 2023 at 11:16, జిందం వాఐి via Users
 wrote:
>
> * geany 1.38 [ 1 ] installed on termux [ 2 ]
> * i use wpcleaner [ 3 ], sometimes i copy/cut and paste from it for
> editing
> * text is available on bangla wikipedia page  [ 4 ] :হুররাম  সুলতান />Hürrem Sultanخُرَّم سلطان
> * i am unable to cut and paste rtl whole word, video [ 5 ]
> * i am able to cut and paste rtl whole word on leafpad 0.8.19, video [ 6
> ]
> * how do i resolve the issue?
>
> [ 1 ] $ geany --version:geany 1.38 (built on 2022-11-03 with GTK
> 3.24.34, GLib 2.74.1)
> [ 2 ] https://github.com/termux/termux-app
> [ 3 ] https://en.wikipedia.org/wiki/Wikipedia:WPCleaner
> [ 4 ]
> https://bn.wikipedia.org/w/index.php?action=edit=%E0%A6%B9%E0%A7%81%E0%A6%B0%E0%A6%B0%E0%A6%BE%E0%A6%AE_%E0%A6%B8%E0%A7%81%E0%A6%B2%E0%A6%A4%E0%A6%BE%E0%A6%A8=1
> [ 5 ] https://commons.wikimedia.org/wiki/File:Geany_138_rtl.webm
> [ 6 ] https://commons.wikimedia.org/wiki/File:Leafpad_0819_rtl.webm
>
> p.s. recently deleted github account, it was bugging me to no end_
> always verify, sending emails about login locations, etc..
>
> --
> regards,
> జిందం వాఐి [ jindam, vani ]
> toots: @jindam_vani@mastodon.world
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: disable_ recent files and auto-indentation

2023-09-15 Thread Lex Trotman via Users
On Fri, 15 Sept 2023 at 19:45, జిందం వాఐి via Users
 wrote:
>
> * i use only text files
> * how do i disable_
>* file_ recent files

Edit->Preferences->Files->Miscellaneous set "recent files list length"
to 0 close and reopen Geany

>* document_ auto-indentation

Edit->Preferences->Editor->Indentation->Auto-indent mode None, applies
to newly opened documents only, see also note at the top of that
dialog.

> --
> regards,
> జిందం వాఐి [ jindam, vani ]
> toots: @jindam_vani@mastodon.world
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: using sudo with password request to make a project

2023-08-10 Thread Lex Trotman via Users
On Fri, 11 Aug 2023 at 00:12, johannes.janssens--- via Users
 wrote:
>
> 1. I want sudo always to be with password request, and it should be like this 
> on every securized system.
> 2. The solutions I found on the web did not work for me.
> So, this idea came up after :
> I wrote a very primitif pgm "pwd_ask.c" (hard labour) :
>
> #include 
> #include 
> #include 
>
> static char string_get(char *prompt, char *string){
>   int c;
>   printf("%s",prompt);
>   scanf("%s", string);
>   do{ c=getchar();} while (c!='\n' && c != EOF);
>   if(strcmp(string,".")==0){
> *string='\0';
> return 0;
>   }
>   return 1;
> }
>
> int main(void){
>char* pwd; pwd = malloc(60);
>string_get("Paswoord : ",pwd);
>fprintf(stdout,"%s",pwd);
>free(pwd);
>return 0;
> }
>
> with this pgm compiled, in geany I can use the build, execute command 
> (because I need an interactif terminal) like this :
>
> sudo < pwd_ask make
>
> This works, but it would be nice to have the possibility of some 
> interactivity in the c-commands and the independent commands also. It would 
> open a lot of possibilities for other stuff beside sudo also.

The compile and build commands output is shown in a list not a
terminal because the output is read by Geany and parsed for errors and
the relevant line in the output is made active (and red to indicate
that) so the user can click it to goto the line where the error
occurred, something which cannot be done with a terminal.  But because
its a list not a terminal typing is not accepted.

Your approach of using the execute commands is the correct one
assuming you do not want the output to be parsed for errors.

You can always add more execute commands if you need them, see
https://wiki.geany.org/howtos/configurebuildmenu

Cheers
Lex

> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: h4 headings in html documents not visible in Geany sidebar

2023-08-08 Thread Lex Trotman via Users
On Wed, 9 Aug 2023 at 12:48, Little Girl via Users
 wrote:
>
> Hey there,
>
> Lex Trotman via Users wrote:
>
> >The ctags parser used by Geany only parses 3 levels
> >https://github.com/universal-ctags/ctags/blob/master/parsers/html.c.
>
> I'm not a C programmer at all, but I could give editing this file a
> whirl if you like.

Brave!! :-)

> It seems like it would mostly be some quick
> busy-work of playing "Follow the Leader" with the code for the
> existing headings. Except for this part:  When it comes to playing
> "Follow the Leader" to add the necessary lines to this section, would
> it be okay to use 'k' and 'l' and 'm' for "heading4", "heading5", and
> "heading6"?
>
> https://github.com/universal-ctags/ctags/blob/master/parsers/html.c#L72-L74
>
> >Feel free to post a pull request on the Universal Ctags to improve it
> >https://github.com/universal-ctags/ctags
>
> Last, but not least, since this would be a "Will this work?" PR and
> not a "Yep, this works!" PR,  would you babysit my work big-time to
> make sure I don't break anything?
>

Please note that the parser PR needs to be submitted to Universal
ctags, not Geany.  Except for a couple of historical parsers Geany
does not carry changes that are not in uctags, we have just finished a
lot of effort to remove differences between Geany's parsers and
upstreams.  Therefore your parser "babysitter" would probably be best
someone from uctags.

The Geany parsers are usually updated from upstream uctags in bulk,
although a Geany PR updating a single parser from upstream would
probably be accepted.

There will be changes to Geany as well to use the new information the
parser produces.  Note that there are limited experts on this (not me)
and so response to questions might be a bit slow, best to ask in an
issue on Geany github not email.

Cheers
Lex

> --
> Little Girl
>
> There is no spoon.
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: h4 headings in html documents not visible in Geany sidebar

2023-08-08 Thread Lex Trotman via Users
The ctags parser used by Geany only parses 3 levels
https://github.com/universal-ctags/ctags/blob/master/parsers/html.c.

Feel free to post a pull request on the Universal Ctags to improve it
https://github.com/universal-ctags/ctags

Cheers
Lex

On Wed, 9 Aug 2023 at 10:18, Little Girl via Users
 wrote:
>
> Hey there,
>
> Terry N via Users wrote:
>
> >Hello.  When creating or editing html documents, Geany only shows
> >headings h1, h2 and h3 in the sidebar.
>
> Interesting. I tried creating an HTML file with these very basic
> contents:
>
> 
> 
> Headings
> 
> 
> Level 1 heading
> Level 2 heading
> Level 3 heading
> Level 4 heading
> Level 5 heading
> Level 6 heading
> 
> 
>
> I opened it in Geany and looked in the Symbols tab in the sidebar.
> You're right. Only levels 1, 2, and 3 are shown in the sidebar. And
> if I open the file in Firefox, all 6 headings are displayed properly.
>
> --
> Little Girl
>
> There is no spoon.
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Geany colour palletes

2023-08-03 Thread Lex Trotman via Users
On Thu, 3 Aug 2023 at 15:12, vrgovinda via Users  wrote:
>
> Hi,
> I use Geany 1.38 on Devuan Daedulus.
>
> I want to customize the Geany VTE similar to that of my Terminal Emulator 
> [LXterminal].
> In my LXterminal, I have options to change my colour pallete to `Solarized 
> Dark`, `Solarized Light`, `Tango` etc.
> But Geany VTE is bland and there seems to be no way to introduce these colour 
> palletes.
>

The foreground and background can be set from Geany prefs.

AFAICT VTE does not read colour definitions from any files, the only
way to set them is to call a VTE function, but nobody has contributed
the code to do that in Geany.

Cheers
Lex

> Can anyone guide me how to achieve this in Geany 1.38?
> Thanks in advance.
>
>
> Regards,
> vrgovinda
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: New Project Confusion

2023-07-31 Thread Lex Trotman via Users
On Mon, 31 Jul 2023 at 14:52, dunbrokin--- via Users
 wrote:
>
> Sorry, as a total newbie, I am getting my head in a total spin about where my 
> python macros should reside.
> I am on Ubuntu 23.04 and LO 7.5.4.2.

Please always give the version of Geany, there is no guarantee that
anybody knows which version Ubuntu XXX has.

Please do not use abbreviations, as was noted before, use LibreOffice,
not LO, someone who might otherwise be able to help you might not do
so because they don't understand LO.

>
> What I am trying to do is to write a macro that takes row of numbers from the 
> current spreadsheet and put it in the same place in another spreadsheet 
> called Tool.ods (also open).

Its pretty unlikely that any Geany people will know about the
specifics of LibreOffice Python, we build Geany not LibreOffice, for
example is this script meant to be activated by LibreOffice, or run
external to it?  Details of script operation you need to ask on
LibreOffice forums.

>
> As far as I can make out, to achieve  this in LO my scripts need to sit in 
> .config/libreoffice/4/user/Scripts/Python/.
>
> However, it seems to me that Geany wants to put all my macros into 
> /home/projects

1. see below
2. Geany saves files where you tell it to, if you create the file in
Geany the first time you save the dialog will allow you to navigate to
any directory to save, so go to
.config/libreoffice/4/user/Scripts/Python/ and save there if thats
where LibreOffice wants them.
3. When you open an existing file Geany will save to the same location
unless you change it with save as.

>
> When I click on New Project. I get a box asking me for File, File Name and 
> Base Path
>
> File I presume is .pybut what do I put in for File Name and Base 
> Path?.If I try to change any of the two to 
> .config/libreoffice/4/user/Scripts/Python/..I find I cannot. I don't want 
> to use default as then the script will not appear in the LO Macro look up 
> box. What am I missing please?
>

1. from above, you are just editing script files for LibreOffice, you
don't really need to use projects, just save your Python files in the
required directory, nor for Python do you need to compile or build,
those are available for advanced users, but most of the time for
Python all you need to do is run your script, (or activate it from
LibreOffice if thats how its run).

Cheers
Lex
___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Error in finding Python in Geany on Execution

2023-07-27 Thread Lex Trotman via Users
On Thu, 27 Jul 2023 at 23:07, Little Girl via Users
 wrote:
>
> Hey there,
>
> Lex Trotman via Users wrote:
>
> >The question is why does the python compile work but not the execute?
> >
> >Did the OP change compile but not change the execute for some reason?
> >
> >Or is there an issue of PATH due to the different ways compile
> >commands and execute commands are run.
>
> No idea on any of those, especially since I had no idea that Python
> could even be compiled.

https://docs.python.org/3/library/py_compile.html#command-line-interface

See default Geany Python "Compile" command for example.

>
> >And anyway, why did the distro packager not use
> >--with-python-command=... when building the package so it will work
> >for their users (Geany 1.38 or later but the OP didn't say what
> >version they had)?
> >
> >ahh well [end rant]

Just to be sure, the rant was at the world in general, not you specifically.

>
> Interesting. I didn't realize they could. You'd think they would have
> realized it and done exactly that. It wouldn't surprise me if it's
> because they have so many thousands of programs that they take a
> hands-off approach when it comes to packaging.

Or possibly they didn't notice since it was only added in 1.38

>
> Anyway, my apologies for jumping in on this thread when I did. I had
> only received the OP's message when I sent my reply. It wasn't until
> later that the rest of the messages came in even though they were
> time-stamped earlier than mine and the problem had already been
> solved. It's one of those occasional internet burps, I suppose, but my
> intentions were good.

Ahh yes, good old not guaranteed delivery email.

>
> A nice side-effect of this for me was that I poked around in the
> Build menu and ended up messing around with and customizing the Lint
> command. I'm loving the way that Geany highlights an offending line
> if you click on it in the "Compiler" panel. It's simply glorious.
> This program just gets better and better and better the more you use
> it.

See also article in the Geany wiki
https://wiki.geany.org/howtos/configurebuildmenu

>
> --
> Little Girl
>
> There is no spoon.
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Error in finding Python in Geany on Execution

2023-07-27 Thread Lex Trotman via Users
On Thu, 27 Jul 2023 at 21:04, Little Girl via Users
 wrote:
>
> Hey there,
>
> dunbrokin--- via Users wrote:
>
> >Yet when I execute it (using Build execute) I get the following
> >output: /tmp/geany_run_script_PRBZ81.sh: 7: python: not found
> >
> >--
> >(program exited with code: 127)
>
> I don't know anything about compiling Python macros, but this message
> happens because we no longer use the "python" command and are,
> instead, using the "python3" command. To fix it:
>
> 1. Open a Python file in Geany.
> 2. Open the "Build" menu.
> 3. Choose "Set Build Commands" from the menu.
> 4. Check which command is shown in the "Command" column in the
> "Execute" row.
> 5. If it says this:
> python "%f"
>   Edit it and change it to:
> python3 "%f"
> 6. Click the "OK" button.
>
> That should do it.
>

The question is why does the python compile work but not the execute?

Did the OP change compile but not change the execute for some reason?

Or is there an issue of PATH due to the different ways compile
commands and execute commands are run.

And anyway, why did the distro packager not use
--with-python-command=... when building the package so it will work
for their users (Geany 1.38 or later but the OP didn't say what
version they had)?

ahh well [end rant]


> --
> Little Girl
>
> There is no spoon.
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Error in finding Python in Geany on Execution

2023-07-27 Thread Lex Trotman via Users
On Thu, 27 Jul 2023 at 17:07, dunbrokin--- via Users
 wrote:
>
> I have just written my first python macro (in fact my first macro)...when I 
> compile it in Geany (using Buld Compile), I get the answer /usr/bin/python3 
> (in directory:
>
> /home/yodap/.config/libreoffice/4/user/Scripts/python/PythonLibray)
> Compilation finished successfully.
>
> Yet when I execute it (using Build execute) I get the following output:
> /tmp/geany_run_script_PRBZ81.sh: 7: python: not found

You have a PATH problem.  That can be complex to debug.

Probably simplest to use `Set Build Commands` to change the execute
command to the full path `/usr/bin/python3`.

Cheers
Lex

>
> --
> (program exited with code: 127)
>
> What have I done wrong?...and how can I fix it please!
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: APSO - what Geny file do I choose as theEditor???

2023-07-25 Thread Lex Trotman via Users
On Wed, 26 Jul 2023 at 07:50, Virgil Arrington via Users
 wrote:
>
>
> On 7/24/23 12:30 AM, dunbrokin--- via Users wrote:
> > My OS is Ubuntu 23.04. Libreoffice 7.5. I am a total noobie starting out on 
> > Python and LO modules. I am trying to set up APSO in LO...and set Geany as 
> > my editorbut I am at a loss to know which file I should be giving ASPO 
> > to start Geany as Editor. I installed Geany from the Ubuntu repositories.
>
>
> If you haven't already done so, you might want to post it at the
> LibreOffice user's list as well. I'm thinking that your issue is more
> one of the operation of LO and its extension than of Geany.
>
> FWIW, however, I believe that, in Ubuntu, program executable files are
> stored in one of the "bin" folders. On my outdated Linux Mint system,
> there is a file called "geany" in my "usr/bin" folder. As a test, I just
> clicked on "/usr/bin/geany" and up popped the Geany text editor. Your
> Ubuntu system may be similar.

Just "geany" should run Geany since /usr/bin should be on the default path.

In fact if its a system installed Geany the packagers should have put
it in a default directory on their distro whatever that may be, so
"geany" should work on any distro.

Lex

>
> Virgil
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: APSO - what Geny file do I choose as theEditor???

2023-07-23 Thread Lex Trotman via Users
ASPO?

Google finds American Society of Preventive Oncology? American Society
of Pediatric Otolaryngology?

Wikipedia finds https://en.wikipedia.org/wiki/ASPO ??

None of these seem relevant.


On Mon, 24 Jul 2023 at 14:30, dunbrokin--- via Users
 wrote:
>
> My OS is Ubuntu 23.04. Libreoffice 7.5. I am a total noobie starting out on 
> Python and LO modules. I am trying to set up APSO in LO...and set Geany as my 
> editorbut I am at a loss to know which file I should be giving ASPO to 
> start Geany as Editor. I installed Geany from the Ubuntu repositories.
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Geany left pane resize

2023-07-03 Thread Lex Trotman via Users
Dammit got off the list again, this email stuff is hard compared to Github ;-D

On Mon, 3 Jul 2023 at 19:37, Guido Falsi  wrote:
>
> On 03/07/23 10:24, Lex Trotman wrote:
> > On Mon, 3 Jul 2023 at 18:02, Guido Falsi  wrote:
> >>
> >> On 03/07/23 06:35, Lex Trotman via Users wrote:
> >>> The width, colour and behaviour of the pane handles is set by the GTK
> >>> theme. Here Minty-dark the handle is not very visible, but the cursor
> >>> does change.
> >>>
> >>> You can either:
> >>>
> >>> a. change the theme to one that makes the handle visible and/or
> >>> changes the cursor, many Linux desktops have a GUI for selecting
> >>> themes, but don't know BSD, or
> >>
> >> In FreeBSD it all depends on the desktop environment being installed. I
> >> mainly use XFCE and it has a team chooser, with various themes provided
> >> that the user can install via package manager.
> >>
> >> Other DE have their own theme editors. AFAIK linux distributions too
> >> actually use the DE provided theme editor,
> >
> > Correct which is why I said "Linux desktop" not distribution
> >
> >> only difference is that linux
> >> distributions are usually more opinionated about  which DE is their
> >> default one.  FreeBSD by default is installed without a GUI even (some
> >> linux distributions do this too, arch comes to mind).
> >
> > I thought BSD had its own desktop, or has that been discontinued?
>
> Some BSD derivatives started such projects, for example there is Lumina

Lumina, thats the one I was thinking of, fine.

> desktop, for TrueOS, which is a FreeBSD derivative. But it's not a
> generic BSD world project, just a project from the TrueOS creator. This
> one is still active and also available for FreeBSD.
>
> AFAIK the main BSD OSes (FreeBSD, OpenBSD and NetBSD, and also
> DragonflyBSD) do not have an own or blessed Desktop. One can install
> whatever he wants (Mate, Gnome, XFCE, KDE etc. , or also use some old
> fashioned window manager like FVWM2 or WindowMaker and so on). As I said
> the main BSDs by default come without X11 nor Wayland installed. They
> can be installed and configured after installation like any other user
> level software package.
>
> >
> > So if BSD uses the same desktops as Linux then they should have the
> > theme selector too, just depends on which desktop the OP installed and
> > what themes are available.
>
> Exactly, each DE has its own selector.
>
> BTW, since I use XFCE, whcih is GTK only, to configure QT themes I'm
> also using qt5ct/qt6ct to be able to choose a dark theme for qt
> applications (nothing available for GTK4 still, but I'm using very few
> GTK4 applications)
>
> >
> >>
> >>> b. override those elements of the theme in geany.css (or a GTK
> >>> customisation if you want it to be global).
> >>
> >> This will obviously work too.
> >
> > But may take some effort to find the relevant items for non GTK CSS experts.
> >
>
> Yes, not very user friendly, but sometimes necessary even with ability
> to change theme, not all themes have reasonable defaults.

Not many themes have reasonable defaults IM(NS)HO.

Riza,  correct, the Geany manual only lists the geany specific CSS
nodes, not the standard GTK ones
https://docs.gtk.org/gtk3/css-overview.html.

Cheers
Lex

>
> --
> Guido Falsi 
>
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Geany left pane resize

2023-07-02 Thread Lex Trotman via Users
The width, colour and behaviour of the pane handles is set by the GTK
theme. Here Minty-dark the handle is not very visible, but the cursor
does change.

You can either:

a. change the theme to one that makes the handle visible and/or
changes the cursor, many Linux desktops have a GUI for selecting
themes, but don't know BSD, or
b. override those elements of the theme in geany.css (or a GTK
customisation if you want it to be global).

Cheers
Lex

On Mon, 3 Jul 2023 at 14:01, Riza Dindir via Users
 wrote:
>
> Hello All.
>
> I could resize the left sidebar. The mouse cursor was not changing
> when I moved the mouse in between the sidebar and the editor pane.
> That confused me, and did not try, since the mouse cursor did not
> change. But when I tried to resize it it did.
>
> Maybe the mouse cursor could be changed when the user wants to resize
> the sidebar.
>
> Thanks.
>
> On Mon, Jul 3, 2023 at 6:56 AM Riza Dindir  wrote:
> >
> > Hello,
> >
> > I am using geany 1.38 on freebsd 13.1.
> >
> > I wanted to resize the sidebar, so that I can see the files and
> > folders in the file browser plugin. Is it possible to resize the
> > sidebar?
> >
> > Regards
> > Riza
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: How to exclude the variables from symbols ?

2023-06-30 Thread Lex Trotman via Users
If its in the Git version it will be in the next release, but that is
late and unscheduled at this point.

Cheers
Lex

On Fri, 30 Jun 2023 at 18:48, Florian CARREZ via Users
 wrote:
>
> Thank you!
> I have version 1.38, does that mean I'll have the feature in the next
> version? Or do I have to get the git version?
> Florian.
>
>
> Le 30/06/2023 à 10:39, Lex Trotman via Users a écrit :
> > Well its available in the Git version, it doesn't jump out at me, but
> > must have been added after your version (which you still havn't
> > supplied).
> >
> > Cheers
> > Lex
> >
> > On Fri, 30 Jun 2023 at 16:38, Florian CARREZ via Users
> >  wrote:
> >> No i don't have this choice, just  "Sort by name/appearance" !
> >>
> >>
> >> Le 30/06/2023 à 02:37, Lex Trotman via Users a écrit :
> >>> On Fri, 30 Jun 2023 at 07:28, Lex Trotman  wrote:
> >>>> Possibly in a newer version or not yet released.
> >>> Just to confirm you don't have a "Group by type" checkbox below the
> >>> "Sort by name/appearance" buttons?
> >>>
> >>>> On Thu, 29 Jun 2023 at 22:01, Florian CARREZ via Users
> >>>>  wrote:
> >>>>> Thank you but i don't find this option, i can sort the symbols by name
> >>>>> or appearance only !
> >>>>>
> >>>>>
> >>>>> Le 29/06/2023 à 12:46, Lex Trotman via Users a écrit :
> >>>>>> It is not possible to exclude variables, but there is an option to
> >>>>>> group by type which should put all the functions together making
> >>>>>> variables easier to ignore.
> >>>>>>
> >>>>>> Cheers
> >>>>>> Lex
> >>>>>>
> >>>>>> On Thu, 29 Jun 2023 at 18:33, Florian CARREZ via Users
> >>>>>>  wrote:
> >>>>>>> Hello,
> >>>>>>> I edit PHP files with a lot of variables.
> >>>>>>> Is it possible to exclude the variables from the list of symbols so 
> >>>>>>> that
> >>>>>>> only the functions remain?
> >>>>>>> If so, how do I go about it?
> >>>>>>> Thanks in advance.
> >>>>>>> Florian.
> >>>>>>> ___
> >>>>>>> Users mailing list -- users@lists.geany.org
> >>>>>>> To unsubscribe send an email to users-le...@lists.geany.org
> >>>>>> ___
> >>>>>> Users mailing list -- users@lists.geany.org
> >>>>>> To unsubscribe send an email to 
> >>>>>> users-leave@lists.geany.org___
> >>>>> Users mailing list -- users@lists.geany.org
> >>>>> To unsubscribe send an email to users-le...@lists.geany.org
> >>> ___
> >>> Users mailing list -- users@lists.geany.org
> >>> To unsubscribe send an email to 
> >>> users-leave@lists.geany.org___
> >> Users mailing list -- users@lists.geany.org
> >> To unsubscribe send an email to users-le...@lists.geany.org
> > ___
> > Users mailing list -- users@lists.geany.org
> > To unsubscribe send an email to 
> > users-leave@lists.geany.org___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Geany-plugins Epel9 on Oracle Linux 9.2

2023-06-30 Thread Lex Trotman via Users
Putting back on list.

On Fri, 30 Jun 2023 at 18:37, Lex Trotman  wrote:
>
> As I said, don't know about packages.
>
> The Fedora package google found
> https://fedora.pkgs.org/37/fedora-x86_64/geany-libgeany-1.38-3.fc37.i686.rpm.html
> has maintainer as - so thats no help.  But there is
> https://rpms.remirepo.net/rpmphp/zoom.php?rpm=geany, see line two EL9?
>
> On Fri, 30 Jun 2023 at 17:49, Kobus Bensch  wrote:
> >
> > So who maintains the geany rpm i. The repo so i can ask?
> >
> > Sent from my iPhone
> >
> > > On 30 Jun 2023, at 07:06, Lex Trotman  wrote:
> > >
> > > Let me repeat once more, the Geany project does not make distro
> > > packages, you need to ask the distro, be it epel, oracle, or santa
> > > clause (well he is into distribution of presents, if not linux :-D
> > >
> > > I'm afraid you need to ask the question of the right people or you
> > > won't get an answer because we simply do not know.
> > >
> > > Cheers
> > > Lex
> > >
> > >> On Fri, 30 Jun 2023 at 15:43, Kobus Bensch  wrote:
> > >>
> > >> In the epel8 repo there are packages for geany and all of the plugins. 
> > >> The epel9 repo on has the geany and the associated lib. There are no 
> > >> plugins available in the epel9 repo. The question here is will there be 
> > >> plugins at some stage in the epel9 repository for rom based 
> > >> distributions.
> > >>
> > >> Epel is an extended packages for enterprise linux repository that is 
> > >> used by for example the following distributions:
> > >> Oracle linux
> > >> Red Hat
> > >> Alma
> > >> Rocky
> > >> Centos
> > >> And I am sure some ithers i can not think of at this stage. So its not 
> > >> really about Oracle linus at all but the epel repository that does not 
> > >> have any of the plugins rpm available to install  the plugins doc says 
> > >> to make sure you have the epel repository for your distribution 
> > >> installed and the. To so a yum/dnf install geany-pluginname but you cant 
> > >> as there are no plugins in the repository available.
> > >>
> > >> Sent from my iPhone
> > >>
> > >>>> On 30 Jun 2023, at 01:19, Lex Trotman  wrote:
> > >>>
> > >>> On Fri, 30 Jun 2023 at 07:52, Kobus Bensch  wrote:
> > >>>>
> > >>>> They are part of the epel repository
> > >>>
> > >>> Then I don't understand what your question is?
> > >>>
> > >>> As I said this project does not make distro packages.
> > >>>
> > >>> Cheers
> > >>> Lex
> > >>>
> > >>>>
> > >>>> On 29 Jun 2023, at 22:30, Lex Trotman via Users 
> > >>>>  wrote:
> > >>>>
> > >>>> On Fri, 30 Jun 2023 at 07:26, Kobus Bensch via Users
> > >>>>  wrote:
> > >>>>
> > >>>>
> > >>>> Hi
> > >>>>
> > >>>> I was wondering if you had a release date for the above please?
> > >>>>
> > >>>>
> > >>>> The Geany project does not make packages for distributions.
> > >>>>
> > >>>> Perhaps you can request it from Oracle.
> > >>>>
> > >>>> Cheers
> > >>>> Lex
> > >>>>
> > >>>> Thank you
> > >>>> Kobus
> > >>>>
> > >>>>
> > >>>> 
> > >>>> Kobus Bensch - Senior Systems Engineer
> > >>>> Yospace - The Dynamic Ad Insertion Company
> > >>>> Church House, 18-20 Church Street, Staines TW18 4EP
> > >>>> Switchboard: +44 1784 466388 Ext. 217 | Fax: +44 1784 466387
> > >>>> Technical Support: +44 1784 818312 - supp...@yospace.com
> > >>>> http://www.yospace.com
> > >>>>
> > >>>> ___
> > >>>> Users mailing list -- users@lists.geany.org
> > >>>> To unsubscribe send an email to users-le...@lists.geany.org
> > >>>>
> > >>>> ___
> > >>>> Users mailing list -- users@lists.geany.org
> > >>>> To unsubscribe send an email to users-le...@lists.geany.org
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>> 
> > >>>> Kobus Bensch - Senior Systems Engineer
> > >>>> Yospace - The Dynamic Ad Insertion Company
> > >>>> Church House, 18-20 Church Street, Staines TW18 4EP
> > >>>> Switchboard: +44 1784 466388 Ext. 217 | Fax: +44 1784 466387
> > >>>> Technical Support: +44 1784 818312 - supp...@yospace.com
> > >>>> http://www.yospace.com
> > >>>>
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: How to exclude the variables from symbols ?

2023-06-30 Thread Lex Trotman via Users
Well its available in the Git version, it doesn't jump out at me, but
must have been added after your version (which you still havn't
supplied).

Cheers
Lex

On Fri, 30 Jun 2023 at 16:38, Florian CARREZ via Users
 wrote:
>
> No i don't have this choice, just  "Sort by name/appearance" !
>
>
> Le 30/06/2023 à 02:37, Lex Trotman via Users a écrit :
> > On Fri, 30 Jun 2023 at 07:28, Lex Trotman  wrote:
> >> Possibly in a newer version or not yet released.
> > Just to confirm you don't have a "Group by type" checkbox below the
> > "Sort by name/appearance" buttons?
> >
> >> On Thu, 29 Jun 2023 at 22:01, Florian CARREZ via Users
> >>  wrote:
> >>> Thank you but i don't find this option, i can sort the symbols by name
> >>> or appearance only !
> >>>
> >>>
> >>> Le 29/06/2023 à 12:46, Lex Trotman via Users a écrit :
> >>>> It is not possible to exclude variables, but there is an option to
> >>>> group by type which should put all the functions together making
> >>>> variables easier to ignore.
> >>>>
> >>>> Cheers
> >>>> Lex
> >>>>
> >>>> On Thu, 29 Jun 2023 at 18:33, Florian CARREZ via Users
> >>>>  wrote:
> >>>>> Hello,
> >>>>> I edit PHP files with a lot of variables.
> >>>>> Is it possible to exclude the variables from the list of symbols so that
> >>>>> only the functions remain?
> >>>>> If so, how do I go about it?
> >>>>> Thanks in advance.
> >>>>> Florian.
> >>>>> ___
> >>>>> Users mailing list -- users@lists.geany.org
> >>>>> To unsubscribe send an email to users-le...@lists.geany.org
> >>>> ___
> >>>> Users mailing list -- users@lists.geany.org
> >>>> To unsubscribe send an email to 
> >>>> users-leave@lists.geany.org___
> >>> Users mailing list -- users@lists.geany.org
> >>> To unsubscribe send an email to users-le...@lists.geany.org
> > ___
> > Users mailing list -- users@lists.geany.org
> > To unsubscribe send an email to 
> > users-leave@lists.geany.org___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: How to exclude the variables from symbols ?

2023-06-29 Thread Lex Trotman via Users
On Fri, 30 Jun 2023 at 07:28, Lex Trotman  wrote:
>
> Possibly in a newer version or not yet released.

Just to confirm you don't have a "Group by type" checkbox below the
"Sort by name/appearance" buttons?

>
> On Thu, 29 Jun 2023 at 22:01, Florian CARREZ via Users
>  wrote:
> >
> > Thank you but i don't find this option, i can sort the symbols by name
> > or appearance only !
> >
> >
> > Le 29/06/2023 à 12:46, Lex Trotman via Users a écrit :
> > > It is not possible to exclude variables, but there is an option to
> > > group by type which should put all the functions together making
> > > variables easier to ignore.
> > >
> > > Cheers
> > > Lex
> > >
> > > On Thu, 29 Jun 2023 at 18:33, Florian CARREZ via Users
> > >  wrote:
> > >> Hello,
> > >> I edit PHP files with a lot of variables.
> > >> Is it possible to exclude the variables from the list of symbols so that
> > >> only the functions remain?
> > >> If so, how do I go about it?
> > >> Thanks in advance.
> > >> Florian.
> > >> ___
> > >> Users mailing list -- users@lists.geany.org
> > >> To unsubscribe send an email to users-le...@lists.geany.org
> > > ___
> > > Users mailing list -- users@lists.geany.org
> > > To unsubscribe send an email to 
> > > users-leave@lists.geany.org___
> > Users mailing list -- users@lists.geany.org
> > To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Geany-plugins Epel9 on Oracle Linux 9.2

2023-06-29 Thread Lex Trotman via Users
On Fri, 30 Jun 2023 at 07:26, Kobus Bensch via Users
 wrote:
>
> Hi
>
> I was wondering if you had a release date for the above please?
>

The Geany project does not make packages for distributions.

Perhaps you can request it from Oracle.

Cheers
Lex

> Thank you
> Kobus
>
>
> 
> Kobus Bensch - Senior Systems Engineer
> Yospace - The Dynamic Ad Insertion Company
> Church House, 18-20 Church Street, Staines TW18 4EP
> Switchboard: +44 1784 466388 Ext. 217 | Fax: +44 1784 466387
> Technical Support: +44 1784 818312 - supp...@yospace.com
> http://www.yospace.com
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: How to exclude the variables from symbols ?

2023-06-29 Thread Lex Trotman via Users
Possibly in a newer version or not yet released.

On Thu, 29 Jun 2023 at 22:01, Florian CARREZ via Users
 wrote:
>
> Thank you but i don't find this option, i can sort the symbols by name
> or appearance only !
>
>
> Le 29/06/2023 à 12:46, Lex Trotman via Users a écrit :
> > It is not possible to exclude variables, but there is an option to
> > group by type which should put all the functions together making
> > variables easier to ignore.
> >
> > Cheers
> > Lex
> >
> > On Thu, 29 Jun 2023 at 18:33, Florian CARREZ via Users
> >  wrote:
> >> Hello,
> >> I edit PHP files with a lot of variables.
> >> Is it possible to exclude the variables from the list of symbols so that
> >> only the functions remain?
> >> If so, how do I go about it?
> >> Thanks in advance.
> >> Florian.
> >> ___
> >> Users mailing list -- users@lists.geany.org
> >> To unsubscribe send an email to users-le...@lists.geany.org
> > ___
> > Users mailing list -- users@lists.geany.org
> > To unsubscribe send an email to 
> > users-leave@lists.geany.org___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: [SOLVED] Change path to compile latex/pdflatex

2023-06-29 Thread Lex Trotman via Users
On Fri, 30 Jun 2023 at 05:16, Darío via Users  wrote:
>
> Well I think that was solved. I changed the word latex and pdflatex also 
> bibtex inside the filetypes.latex archive for:
>
>
> for latex (specially with pstricks packages):
> /usr/local/texlive/2023/bin/x86_64-linux/latex
>  --file-line-error-style -output-directory=/tmp "%f" && dvipdf /tmp/"%e.dvi"
>
> for pdflatex (without pstricks):
>
> /usr/local/texlive/2023/bin/x86_64-linux/pdflatex --file-line-error-style 
> -output-directory=/tmp "%f" && mv /tmp/"%e.pdf" .
>
> and finally when I include bibliography:
> /usr/local/texlive/2023/bin/x86_64-linux/latex --file-line-error-style "%f" 
> && /usr/local/texlive/2023/bin/x86_64-linux/bibtex "%e.aux" && 
> /usr/local/texlive/2023/bin/x86_64-linux/bibtex "%e.aux" && 
> /usr/local/texlive/2023/bin/x86_64-linux/latex --file-line-error-style "%f" 
> && dvipdf "%e.dvi"
>
> really do not know if is elegant form, but for pdflatex and latex works, yet 
> do not proof with bibtex.
>
> Regards,
> Darío
>

Probably you are starting Geany from a desktop menu which does not use
a shell, so all the good work you did in .bashrc and .profile is not
used.  The solutions are:

1. teach the desktop to use a shell to start Geany so it inherits the
environment with your .profile or .bashrc
2. start Geany from a terminal so its in a shell so it inherits the
environment with your .profile and .bashrc
3. use full paths as you have done

Cheers
Lex

> -
>
> Enviado con Proton Mail - correo electrónico seguro.
>
> --- Original Message ---
> El jueves, 29 de junio de 2023 a las 8:24 AM, Darío via Users 
>  escribió:
>
>
> > Hello, I can install texlive 2023 manually from official repositories 
> > tug.org, successfully; and I have install before texlive from official 
> > Debian's repositories (there are some little old, one year or less). 
> > Actually they live together.
> >
> > I have done the steps of installing and editing files for the paths and man 
> > (.bashrc, .profile, ...), so when he comes to latex or pdflatex, compile 
> > using texlive2023.
> >
> > In terminal works fine (except tlmgr, I do not know why), but the problem 
> > is in geany, my order to compile with F8 keys is:
> >
> > latex --file-line-error-style -output-directory=/tmp "%f" && dvipdf 
> > /tmp/"%e.dvi"
> >
> > and pdflatex (F9 keys):
> >
> > pdflatex --file-line-error-style -output-directory=/tmp "%f" && mv 
> > /tmp/"%e.pdf" .
> >
> > if I use the same in terminal, compile with texlive2023; but if I use geany 
> > compile with texlive2022, why!?
> >
> > Thanks a lot!
> > Darío
> > ___
> > Users mailing list -- users@lists.geany.org
> > To unsubscribe send an email to users-le...@lists.geany.org
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Start editing a new file with template from the command line

2023-06-29 Thread Lex Trotman via Users
On Thu, 29 Jun 2023 at 18:19, geany.ymomx--- via Users
 wrote:
>
> To start a editing a new file with a template, you have to go through the GUI 
> via "File | New (with Template)" and start with an untitled file. It doesn't 
> seem there's a command line option that allows you to do something like
>
> geany --template html my-new-file.html
>
> Is it possible to add such an option?
> Is their any workaround?

There is no current method to do that.

If somebody contributed a pull request with the changes needed it
could be added, just needs "somebody" to do it.

Cheers
Lex

>
> Regards,
> ym
> --
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: How to exclude the variables from symbols ?

2023-06-29 Thread Lex Trotman via Users
It is not possible to exclude variables, but there is an option to
group by type which should put all the functions together making
variables easier to ignore.

Cheers
Lex

On Thu, 29 Jun 2023 at 18:33, Florian CARREZ via Users
 wrote:
>
> Hello,
> I edit PHP files with a lot of variables.
> Is it possible to exclude the variables from the list of symbols so that
> only the functions remain?
> If so, how do I go about it?
> Thanks in advance.
> Florian.
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Geany 1.37 vs 1.38

2023-06-21 Thread Lex Trotman via Users
On Thu, 22 Jun 2023 at 08:49, H via Users  wrote:
>
> On 06/21/2023 02:16 AM, Dominic Hopf wrote:
>
> So I don't have any CentOS 7 system up and running somewhere. Can you check 
> if this ominous Red Hat Developer Toolset can be found on your CentOS 7 
> machine and what the package name is?
> If so, that still doesn't have to mean that the build servers in the Fedora 
> infrastructure responsible for building EPEL packages have the same package 
> available, but I can try, at least.
>
> Regards,
> Dominic
>
> On Wed, Jun 21, 2023 at 2:57 AM H via Users  wrote:
...
> It seems Developer Toolset 7 through 11 are available freely on 
> https://www.softwarecollections.org/en/scls/rhscl/ (I believe I have 
> Developer Toolset 7 installed on my computer).

As Dominic noted it depends on if the infrastructure that builds the
repo packages has a new enough compiler available.  As I pointed out
previously, Centos 7 has only one year of bug and security fixes to
go, the repo build farm may not support new compiler infrastructure.

>
> I have not found Developer Toolset 12 there yet but since it seems version 11 
> supports C/C++ 17 it ought to be sufficient.
>
> Perhaps compiling geany could be done using docker using a CentOS 7 image?

Sure, but "somebody" has to do it.  That is not really the way the
FedRedCent workflow goes so whoever does it probably has to host it
themselves.

To be honest it is looking like you need to compile it yourself, in
which case you can try the git version, not 1.38, and see if the
problem has been fixed.

Cheers
Lex

>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Geany 1.37 vs 1.38

2023-06-21 Thread Lex Trotman via Users
On Wed, 21 Jun 2023 at 17:06, Dominic Hopf  wrote:
>
> I don't know, as I did not build the flatpak nor use it myself.

Seems like flathub doesn't list who maintains it, AFAICT, so could be
anybody, competence unknown.  IIRC kugel- identified some issues
relating to flatpacking Geany, not sure if thats solved or not.

> The flatpak would need to bundle the plugins, of course (as flatpaks bundle 
> everything else as well).

Ok, thats not the flathub one AFAICT.

> I guess that still needs to be tested as well as if it was possible to 
> install flatpaks on CentOS 7 at all.

Google says its possible https://flatpak.org/setup/CentOS ... in fact built-in.

Cheers
Lex

>
> Regards,
> Dominic
>
> On Wed, Jun 21, 2023 at 8:56 AM Lex Trotman via Users  
> wrote:
>>
>> On Wed, 21 Jun 2023 at 16:21, Dominic Hopf via Users
>>  wrote:
>> >
>> > Also, you did not come back to my point on installing a flatpak instead. 
>> > If it was possible for you to follow instructions like e.g. these ones 
>> > that would be great:
>> >
>> > https://linuxconfig.org/how-to-install-flatpak-on-centos
>> >
>> > Regards,
>> > Dominic
>>
>> Does the flatpack work with the plugins?  (which was where we started).
>>
>> Cheers
>> Lex
>>
>> >
>> > On Wed, Jun 21, 2023 at 8:16 AM Dominic Hopf  wrote:
>> >>
>> >> So I don't have any CentOS 7 system up and running somewhere. Can you 
>> >> check if this ominous Red Hat Developer Toolset can be found on your 
>> >> CentOS 7 machine and what the package name is?
>> >> If so, that still doesn't have to mean that the build servers in the 
>> >> Fedora infrastructure responsible for building EPEL packages have the 
>> >> same package available, but I can try, at least.
>> >>
>> >> Regards,
>> >> Dominic
>> >>
>> >> On Wed, Jun 21, 2023 at 2:57 AM H via Users  wrote:
>> >>>
>> >>> On 06/20/2023 08:29 PM, Lex Trotman via Users wrote:
>> >>> > On Wed, 21 Jun 2023 at 09:14, H via Users  
>> >>> > wrote:
>> >>> >> On 06/20/2023 04:10 AM, Lex Trotman via Users wrote:
>> >>> >>> I accidently took us off list, added us back.
>> >>> >>>
>> >>> >>> On Mon, 19 Jun 2023 at 23:11, Dominic Hopf  
>> >>> >>> wrote:
>> >>> >>>> So I did a quick try to build Geany 1.38 for EPEL7, right now the 
>> >>> >>>> problem is that `./configure` already fails with this message:
>> >>> >>>>
>> >>> >>>> configure: error: *** A compiler with support for C++17 language 
>> >>> >>>> features is required.
>> >>> >>>> error: Bad exit status from /var/tmp/rpm-tmp.X4sTL9 (%build)
>> >>> >>>> Bad exit status from /var/tmp/rpm-tmp.X4sTL9 (%build)
>> >>> >>>>
>> >>> >>> Ok, thats not one that is fixable in a practical sense, Scintilla
>> >>> >>> versions after the 3.x.x stable versions do require C++17, and the
>> >>> >>> changes between the old version and the new versions (two major
>> >>> >>> versions after all) have too many changes to be practical to support
>> >>> >>> both.
>> >>> >>>
>> >>> >>>> I'm afraid this is not possible to build without immense effort 
>> >>> >>>> unless anyone else has an idea?
>> >>> >>>> Does one of you guys know if it's possible to install flatpaks on 
>> >>> >>>> CentOS 7? Probably that could be an idea then?
>> >>> >>>>
>> >>> >>> Well, I guess Flatsnaps, dockers or other containerised mechanisms
>> >>> >>> would maybe allow for a newer C++ compiler to build against a newer
>> >>> >>> runtime.  Docker is used to do the Windows cross compiles and CI now.
>> >>> >>> Would need to run in the container too so the newer C++ runtime
>> >>> >>> library was available I guess.  But I am no container expert.
>> >>> >>>
>> >>> >>> Cheers
>> >>> >>> Lex
>> >>> >>>
>> >>> >>>> Regards,
>> >>> >>>> Dominic
>> >>> >>>>
>>

[Geany-Users] Re: Geany 1.37 vs 1.38

2023-06-21 Thread Lex Trotman via Users
On Wed, 21 Jun 2023 at 16:21, Dominic Hopf via Users
 wrote:
>
> Also, you did not come back to my point on installing a flatpak instead. If 
> it was possible for you to follow instructions like e.g. these ones that 
> would be great:
>
> https://linuxconfig.org/how-to-install-flatpak-on-centos
>
> Regards,
> Dominic

Does the flatpack work with the plugins?  (which was where we started).

Cheers
Lex

>
> On Wed, Jun 21, 2023 at 8:16 AM Dominic Hopf  wrote:
>>
>> So I don't have any CentOS 7 system up and running somewhere. Can you check 
>> if this ominous Red Hat Developer Toolset can be found on your CentOS 7 
>> machine and what the package name is?
>> If so, that still doesn't have to mean that the build servers in the Fedora 
>> infrastructure responsible for building EPEL packages have the same package 
>> available, but I can try, at least.
>>
>> Regards,
>> Dominic
>>
>> On Wed, Jun 21, 2023 at 2:57 AM H via Users  wrote:
>>>
>>> On 06/20/2023 08:29 PM, Lex Trotman via Users wrote:
>>> > On Wed, 21 Jun 2023 at 09:14, H via Users  wrote:
>>> >> On 06/20/2023 04:10 AM, Lex Trotman via Users wrote:
>>> >>> I accidently took us off list, added us back.
>>> >>>
>>> >>> On Mon, 19 Jun 2023 at 23:11, Dominic Hopf  
>>> >>> wrote:
>>> >>>> So I did a quick try to build Geany 1.38 for EPEL7, right now the 
>>> >>>> problem is that `./configure` already fails with this message:
>>> >>>>
>>> >>>> configure: error: *** A compiler with support for C++17 language 
>>> >>>> features is required.
>>> >>>> error: Bad exit status from /var/tmp/rpm-tmp.X4sTL9 (%build)
>>> >>>> Bad exit status from /var/tmp/rpm-tmp.X4sTL9 (%build)
>>> >>>>
>>> >>> Ok, thats not one that is fixable in a practical sense, Scintilla
>>> >>> versions after the 3.x.x stable versions do require C++17, and the
>>> >>> changes between the old version and the new versions (two major
>>> >>> versions after all) have too many changes to be practical to support
>>> >>> both.
>>> >>>
>>> >>>> I'm afraid this is not possible to build without immense effort unless 
>>> >>>> anyone else has an idea?
>>> >>>> Does one of you guys know if it's possible to install flatpaks on 
>>> >>>> CentOS 7? Probably that could be an idea then?
>>> >>>>
>>> >>> Well, I guess Flatsnaps, dockers or other containerised mechanisms
>>> >>> would maybe allow for a newer C++ compiler to build against a newer
>>> >>> runtime.  Docker is used to do the Windows cross compiles and CI now.
>>> >>> Would need to run in the container too so the newer C++ runtime
>>> >>> library was available I guess.  But I am no container expert.
>>> >>>
>>> >>> Cheers
>>> >>> Lex
>>> >>>
>>> >>>> Regards,
>>> >>>> Dominic
>>> >>>>
>>> >>>> On Mon, Jun 19, 2023 at 12:36 PM Lex Trotman  wrote:
>>> >>>>> On Mon, 19 Jun 2023 at 19:10, Dominic Hopf  
>>> >>>>> wrote:
>>> >>>>>> No need to ask in the RedHat Bugzilla at all as I'm reading here as 
>>> >>>>>> well. ;)
>>> >>>>>> I remember there were issues building Geany 1.38 for CentOS 7, but I 
>>> >>>>>> don't remember what issues that was in detail, though.
>>> >>>>>> I'll retry as soon as I can and will let you know. Either I can tell 
>>> >>>>>> you what the issue is or probably there will be an update.
>>> >>>>>>
>>> >>>>> Thank you, if its a dependency thats too olde I guess there won't be
>>> >>>>> much we can do, but its good to know what the problem is.
>>> >>>>>
>>> >>>>> Cheers
>>> >>>>> Lex
>>> >>>>>
>>> >>>>>> Regards,
>>> >>>>>> Dominic
>>> >>>>>>
>>> >>>>>> On Mon, Jun 19, 2023 at 3:09 AM Lex Trotman via Users 
>>> >>>>>>  wrote:
>>> >>>>>>>> Lex, is the

[Geany-Users] Re: Geany 1.37 vs 1.38

2023-06-20 Thread Lex Trotman via Users
On Wed, 21 Jun 2023 at 09:14, H via Users  wrote:
>
> On 06/20/2023 04:10 AM, Lex Trotman via Users wrote:
> > I accidently took us off list, added us back.
> >
> > On Mon, 19 Jun 2023 at 23:11, Dominic Hopf  wrote:
> >> So I did a quick try to build Geany 1.38 for EPEL7, right now the problem 
> >> is that `./configure` already fails with this message:
> >>
> >> configure: error: *** A compiler with support for C++17 language features 
> >> is required.
> >> error: Bad exit status from /var/tmp/rpm-tmp.X4sTL9 (%build)
> >> Bad exit status from /var/tmp/rpm-tmp.X4sTL9 (%build)
> >>
> > Ok, thats not one that is fixable in a practical sense, Scintilla
> > versions after the 3.x.x stable versions do require C++17, and the
> > changes between the old version and the new versions (two major
> > versions after all) have too many changes to be practical to support
> > both.
> >
> >> I'm afraid this is not possible to build without immense effort unless 
> >> anyone else has an idea?
> >> Does one of you guys know if it's possible to install flatpaks on CentOS 
> >> 7? Probably that could be an idea then?
> >>
> > Well, I guess Flatsnaps, dockers or other containerised mechanisms
> > would maybe allow for a newer C++ compiler to build against a newer
> > runtime.  Docker is used to do the Windows cross compiles and CI now.
> > Would need to run in the container too so the newer C++ runtime
> > library was available I guess.  But I am no container expert.
> >
> > Cheers
> > Lex
> >
> >> Regards,
> >> Dominic
> >>
> >> On Mon, Jun 19, 2023 at 12:36 PM Lex Trotman  wrote:
> >>> On Mon, 19 Jun 2023 at 19:10, Dominic Hopf  wrote:
> >>>> No need to ask in the RedHat Bugzilla at all as I'm reading here as 
> >>>> well. ;)
> >>>> I remember there were issues building Geany 1.38 for CentOS 7, but I 
> >>>> don't remember what issues that was in detail, though.
> >>>> I'll retry as soon as I can and will let you know. Either I can tell you 
> >>>> what the issue is or probably there will be an update.
> >>>>
> >>> Thank you, if its a dependency thats too olde I guess there won't be
> >>> much we can do, but its good to know what the problem is.
> >>>
> >>> Cheers
> >>> Lex
> >>>
> >>>> Regards,
> >>>> Dominic
> >>>>
> >>>> On Mon, Jun 19, 2023 at 3:09 AM Lex Trotman via Users 
> >>>>  wrote:
> >>>>>> Lex, is there anything I can do if you want to look into this? I would 
> >>>>>> love to have 1.38 - and hopefully 1.39 - available for CentOS 7.
> >>>>> You could ask on Centos bugzilla what the problem was.
> >>>>>
> >>>>> I don't want to sound negative, so lets call it being pragmatic ;-P
> >>>>>
> >>>>> Centos 7 has one year of maintenance updates left, IIUC maintenance
> >>>>> updates mean security and bugfixes, no new versions, so 1.38 or 1.39
> >>>>> doesn't seem likely to happen.
> >>>>>
> >>>>> We try to keep Geany git working on Ubuntu LTS (that is what Github CI
> >>>>> uses) but no guarantees on older things and without any info about
> >>>>> what failed we can't do much.
> >>>>>
> >>>>> Cheers
> >>>>> Lex
> >>>>>
> >>>>>> ___
> >>>>>> Users mailing list -- users@lists.geany.org
> >>>>>> To unsubscribe send an email to users-le...@lists.geany.org
> >>>>> ___
> >>>>> Users mailing list -- users@lists.geany.org
> >>>>> To unsubscribe send an email to users-le...@lists.geany.org
> > ___
> > Users mailing list -- users@lists.geany.org
> > To unsubscribe send an email to users-le...@lists.geany.org
>
> But does not Red Hat Developer Toolset 10.x support C/C++17? See 
> https://access.redhat.com/documentation/en-us/red_hat_developer_toolset/12/html-single/user_guide/index#sect-GCC-CPP-Compatibility.
>  Although I myself have an earlier version of the Developer Toolset installed 
> on my own computer, it seems that the latest release, Developer Toolset 12 
> even supports C/C++20?

"Red Hat Developer Toolset is a Red Hat offering for developers on the
Red Hat Enterprise Linux platform." so is it available for Centos 7,
and is it supported to build software for the Centos 7 repository?

Cheers
Lex

>
> If my reading is correct, it would seem the compiler requirement can be met?
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Geany 1.37 vs 1.38

2023-06-20 Thread Lex Trotman via Users
I accidently took us off list, added us back.

On Mon, 19 Jun 2023 at 23:11, Dominic Hopf  wrote:
>
> So I did a quick try to build Geany 1.38 for EPEL7, right now the problem is 
> that `./configure` already fails with this message:
>
> configure: error: *** A compiler with support for C++17 language features is 
> required.
> error: Bad exit status from /var/tmp/rpm-tmp.X4sTL9 (%build)
> Bad exit status from /var/tmp/rpm-tmp.X4sTL9 (%build)
>

Ok, thats not one that is fixable in a practical sense, Scintilla
versions after the 3.x.x stable versions do require C++17, and the
changes between the old version and the new versions (two major
versions after all) have too many changes to be practical to support
both.

> I'm afraid this is not possible to build without immense effort unless anyone 
> else has an idea?
> Does one of you guys know if it's possible to install flatpaks on CentOS 7? 
> Probably that could be an idea then?
>

Well, I guess Flatsnaps, dockers or other containerised mechanisms
would maybe allow for a newer C++ compiler to build against a newer
runtime.  Docker is used to do the Windows cross compiles and CI now.
Would need to run in the container too so the newer C++ runtime
library was available I guess.  But I am no container expert.

Cheers
Lex

> Regards,
> Dominic
>
> On Mon, Jun 19, 2023 at 12:36 PM Lex Trotman  wrote:
>>
>> On Mon, 19 Jun 2023 at 19:10, Dominic Hopf  wrote:
>> >
>> > No need to ask in the RedHat Bugzilla at all as I'm reading here as well. 
>> > ;)
>> > I remember there were issues building Geany 1.38 for CentOS 7, but I don't 
>> > remember what issues that was in detail, though.
>> > I'll retry as soon as I can and will let you know. Either I can tell you 
>> > what the issue is or probably there will be an update.
>> >
>>
>> Thank you, if its a dependency thats too olde I guess there won't be
>> much we can do, but its good to know what the problem is.
>>
>> Cheers
>> Lex
>>
>> > Regards,
>> > Dominic
>> >
>> > On Mon, Jun 19, 2023 at 3:09 AM Lex Trotman via Users 
>> >  wrote:
>> >>
>> >> > Lex, is there anything I can do if you want to look into this? I would 
>> >> > love to have 1.38 - and hopefully 1.39 - available for CentOS 7.
>> >>
>> >> You could ask on Centos bugzilla what the problem was.
>> >>
>> >> I don't want to sound negative, so lets call it being pragmatic ;-P
>> >>
>> >> Centos 7 has one year of maintenance updates left, IIUC maintenance
>> >> updates mean security and bugfixes, no new versions, so 1.38 or 1.39
>> >> doesn't seem likely to happen.
>> >>
>> >> We try to keep Geany git working on Ubuntu LTS (that is what Github CI
>> >> uses) but no guarantees on older things and without any info about
>> >> what failed we can't do much.
>> >>
>> >> Cheers
>> >> Lex
>> >>
>> >> > ___
>> >> > Users mailing list -- users@lists.geany.org
>> >> > To unsubscribe send an email to users-le...@lists.geany.org
>> >> ___
>> >> Users mailing list -- users@lists.geany.org
>> >> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Manually editing the Geany Build menu

2023-06-19 Thread Lex Trotman via Users
On Tue, 20 Jun 2023 at 00:25, Robert L. Miers PE via Users
 wrote:
>
> I would like to manually (via BASH script) the Build menu section.
> I have been able to accomplish this type of task in other sections of Geany
> configuration, but
> I haven't been able to locate the file that has the Build menu items.
>
> Please point me to that proper file.
>

Its complicated, https://wiki.geany.org/howtos/configurebuildmenu

Cheers
Lex

>
> Thanks,
> Bob
>
> Robert L. Miers, PE
> 1396 Goodwin Dr
> Chino Valley, AZ 86323-5743
> 520-305-6235 Bob's cell
> Bob: rlmier...@blmiers.com
> Registered Professional Engineer
> Amateur Radio Operator KØWHF
>
>
> Confidentiality Notice: This e-mail message, including any attachments, is
> for the sole use of the intended recipient(s) and may contain confidential
> and privileged information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the intended recipient, please
> contact the sender by reply e-mail and destroy all copies of the original
> message.
>
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Problem with a snippets for tex

2023-06-19 Thread Lex Trotman via Users
On Tue, 20 Jun 2023 at 08:30, Darío via Users  wrote:
>
> Hello! I am use some snippets for write an archive file.tex. Specifically for 
> environment description, I wrote in snippets.conf archive:
>
> desc=\\begin{description}\n\t\\item[%cursor%]\n\\end{description}
>  the problem is that not replace "desc+" for:
> \begin{description}
>   \item[]
> \end{description}
> but replace with:
> \begin
>   \item[]
> \end
> without description environment, but good the position of the cursor.
>
> I do not understand, because I use the same snippets for enumerate 
> environment:
> enum=\\begin{enumerate}\n\t\\item %cursor%\n\\end{enumerate}
> except for the brackets:
> \begin{enumerate}
>   \item
> \end{enumerate}
>
> Why do not works if is almost similar?

Because the syntax {something} is a wildcard which is substituted by
Geany, see https://www.geany.org/manual/current/index.html#template-wildcards
but {enumerate} is not a known wildcard so its not replaced, but
{description} is so its replaced by its current value (the project
description) which seems to be blank in your case.

As the manual says, replace the { by {ob} and the } by {cb} to avoid
substitution.

Cheers
Lex

>
>
> Thanks a lot!
> Darío
>
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Geany 1.37 vs 1.38

2023-06-18 Thread Lex Trotman via Users
> Lex, is there anything I can do if you want to look into this? I would love 
> to have 1.38 - and hopefully 1.39 - available for CentOS 7.

You could ask on Centos bugzilla what the problem was.

I don't want to sound negative, so lets call it being pragmatic ;-P

Centos 7 has one year of maintenance updates left, IIUC maintenance
updates mean security and bugfixes, no new versions, so 1.38 or 1.39
doesn't seem likely to happen.

We try to keep Geany git working on Ubuntu LTS (that is what Github CI
uses) but no guarantees on older things and without any info about
what failed we can't do much.

Cheers
Lex

> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Geany 1.37 vs 1.38

2023-06-17 Thread Lex Trotman via Users
On Sun, 18 Jun 2023 at 01:18, H via Users  wrote:
>
> On 06/16/2023 11:53 PM, Lex Trotman via Users wrote:
> > On Sat, 17 Jun 2023 at 13:14, H via Users  wrote:
> >> I have run into an issue I don't think I had a month ago. Running CentOS 7 
> >> where geany 1.37 is the latest version in the EPEL repository, the 
> >> plugins, however, have been updated to 1.38.
> >>
> >> I just noticed that when I close a project in the project organizer plugin 
> >> the files in the project are not closed. I am pretty sure that worked as 
> >> expected a month ago when in the search for the geanylua plugin and trying 
> >> to get that installed may inadvertently have changed something in the 
> >> system.
> > Nothing to do with the plugin.  What has probably happened is that the
> > open documents have been added to the user config session list when
> > Geany was closed with a project open, this is a known problem, see
> > https://github.com/geany/geany/issues/267#issue-33223372.  Geany Git
> > might fix it since the session handling has been rejigged
> > considerably.
> >
> >> Looking at my installation I see that my editor is 1.37 "built on or after 
> >> 2022-07-08" but my projectmanager plugin is 1.38. Not sure when this 
> >> happened but this version mismatch could possibly explain why the project 
> >> organizer no longer works as expected.
> > Unlikely, the important thing is ABI match and thats tested and the
> > plugin won't load if they do not match.  ABI doesn't change very often
> > because it invalidates all plugins.
> >
> >> I have tried to find geany-plugins-1.37.el7.x86_64.rpm somewhere on the 
> >> 'net but can only find either 1.38 or 1.31.
> > Would be better to find Geany 1.38 package but doesn't seem to be
> > available, weird.
> >
> >> Alternatively, is there a setting in the editor I may have changed without 
> >> thinking of it and which affects closing of project files?
> > Not AFAIK.
> >
> > Cheers
> > Lex
> >> ___
> >> Users mailing list -- users@lists.geany.org
> >> To unsubscribe send an email to users-le...@lists.geany.org
> > ___
> > Users mailing list -- users@lists.geany.org
> > To unsubscribe send an email to users-le...@lists.geany.org
>
> Thank you, Lex, for clearing this up. I did look at the git link and see this 
> is a long-standing issue.
>
> I did verify I have "use project-based session files" checked in my setup. 
> Until 1.39 is released with session handling improved, is there anything I 
> can do to avoid my problem above?
>
> By the way, according to RedHat Bugzilla there were unspecified build 
> failures when attempting to update geany to 1.38 for CentOS 7.

Well thank you to whoever makes the FedRedCent packages for sending it
upstream (not), but maybe its simply one of the dependencies in
Centos7 is too old.

>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Geany 1.37 vs 1.38

2023-06-16 Thread Lex Trotman via Users
On Sat, 17 Jun 2023 at 13:14, H via Users  wrote:
>
> I have run into an issue I don't think I had a month ago. Running CentOS 7 
> where geany 1.37 is the latest version in the EPEL repository, the plugins, 
> however, have been updated to 1.38.
>
> I just noticed that when I close a project in the project organizer plugin 
> the files in the project are not closed. I am pretty sure that worked as 
> expected a month ago when in the search for the geanylua plugin and trying to 
> get that installed may inadvertently have changed something in the system.

Nothing to do with the plugin.  What has probably happened is that the
open documents have been added to the user config session list when
Geany was closed with a project open, this is a known problem, see
https://github.com/geany/geany/issues/267#issue-33223372.  Geany Git
might fix it since the session handling has been rejigged
considerably.

>
> Looking at my installation I see that my editor is 1.37 "built on or after 
> 2022-07-08" but my projectmanager plugin is 1.38. Not sure when this happened 
> but this version mismatch could possibly explain why the project organizer no 
> longer works as expected.

Unlikely, the important thing is ABI match and thats tested and the
plugin won't load if they do not match.  ABI doesn't change very often
because it invalidates all plugins.

>
> I have tried to find geany-plugins-1.37.el7.x86_64.rpm somewhere on the 'net 
> but can only find either 1.38 or 1.31.

Would be better to find Geany 1.38 package but doesn't seem to be
available, weird.

>
> Alternatively, is there a setting in the editor I may have changed without 
> thinking of it and which affects closing of project files?

Not AFAIK.

Cheers
Lex
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: How do I print with a dark theme?

2023-06-15 Thread Lex Trotman via Users
On Fri, 16 Jun 2023 at 02:10, Ray Andrews via Users
 wrote:
>
>
> On 2023-06-15 05:02, Lex Trotman via Users wrote:
> > Except for the background which is forced to white to avoid emptying
> > ink/toner by printing background the rest is exactly as per the colour
> > scheme.
>
> Hey, has that been fixed?  Last time I tried printing from Geany, it
> insisted on  printing my background black, which is literally correct
> but obviously undesirable, so I haven actually tried to print from Geany
> for quite a while.  Nice if background will be white regardless of color
> scheme.

Yes, thats what caused the OPs empty pages, printing white text on a
white background.

>
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: How do I print with a dark theme?

2023-06-15 Thread Lex Trotman via Users
On Thu, 15 Jun 2023 at 19:18, Thierry Clairet via Users
 wrote:
>
> Hello,
> I use Geany (1.38) on Linux Mint for some Python and Bash development and 
> mainly to take notes on various subjects.
> I've created a custom dark theme from Inkpot.
> Do you know how to print (HP Envy Inspire 7200 printer), in black characters, 
> the text displayed on the screen in white on a dark blue background?
> Direct printing, like pdf output, produces totally white pages except for 
> headers and footers.

Except for the background which is forced to white to avoid emptying
ink/toner by printing background the rest is exactly as per the colour
scheme.

So you need to create a new colour scheme like the one you made for
the screen but with printing colours, and select that before printing.

Cheers
Lex

> Thanks for your help
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Syntax highlightning and copy

2023-06-01 Thread Lex Trotman via Users
On Fri, 2 Jun 2023 at 01:36, pg123 via Users  wrote:
>
> Is it possible to copy a file with the syntax highlightning ?

Clearly not as text, but see the export plugin which can export in
HTML and Latex.

Cheers
Lex

> When I copy and paste the syntax disapear, so is there an addon or plugin to 
> do that.
> I love Geany and I use it for R and Python. It is wonderful !
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Converting HTML entities in text to UTF-8

2023-05-24 Thread Lex Trotman via Users
> Thank you, brilliant idea! I chose to add
>
> perl -C -MHTML::Entities -pe 'decode_entities($_);' %f > %f.html
>
> as a build command and it worked great on my (single) example.
>
>
> While the above works great, it saves the output to a new file. Is it 
> possible to configure the build command so that the file I am viewing (and 
> running the command on) gets updated in the view?

No, but if you configure the Perl to read from stdin and write to
stdout you can use a custom command which feeds the selection to stdin
and replaces it with stdout. (Hint ctrl-a selects the whole file).

Cheers
Lex

>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Converting HTML entities in text to UTF-8

2023-05-13 Thread Lex Trotman via Users
 ...
> Aha, got it. Sadly no, it's been a long time since I wrote C code...
>
> I will check who the maintainer is of that plugin and see if he/she might be 
> interested.

HTML chars is part of the Geany repository, so it doesn't have an
individual maintainer, unlike those in the Geany-plugins collection.

You can make an issue requesting the feature on the Geany repo and see
if you can interest "somebody".

Cheers
Lex

> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Help to start c++ with Geany

2023-05-13 Thread Lex Trotman via Users
On Sat, 13 May 2023 at 21:39, Lex Trotman  wrote:
>
> Note this is a wx question, not a Geany question.
>
> You need to set the wx includes directories for compiles and probably
> library directories for the linker.

To add, a C++ compiler does not know where to find anything other than
the standard library, the programmer has to tell it.

I might add that as soon as you have more than one C++ file you
probably want to use a build tool, so its probably worth doing that
even with one file.

The minimal one is "make" (which is a default Build menu item in
Geany) or one of the higher level ones like Cmake or Meson which might
provide more support for using wx, and you can set one of the Geany
build commands to run it.

>
> I am not a wx user and my quick perusal of the wx website did not show
> any information about how to build a wx program, not even the "hello
> world" one.
>
> Perhaps you can ask on the wx support and point out that this is
> missing information for newbies.
>
> Cheers
> Lex
>
> On Sat, 13 May 2023 at 21:00, Jean-Philippe Combe via Users
>  wrote:
> >
> > Hello everyone,
> >
> > I use Geany for many years for Pearl and MQL4 language but I would like to 
> > learn standard c++ with Geany and I have some problems to compile :
> >
> > My example program :
> > //#include 
> > #include "/usr/include/wx-3.2/wx/wx.h"  // this file exists !
> >
> > class MyApp : public wxApp
> > {
> > public:
> > virtual bool OnInit();
> > };
> >
> > class MyFrame : public wxFrame
> > {
> > public:
> > MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size);
> > };
> >
> > bool MyApp::OnInit()
> > {
> > MyFrame *frame = new MyFrame("Hello World", wxPoint(50, 50), 
> > wxSize(450, 340));
> > frame->Show(true);
> > return true;
> > }
> >
> > MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& 
> > size)
> > : wxFrame(NULL, wxID_ANY, title, pos, size)
> > {
> > wxMenu *menuFile = new wxMenu;
> > menuFile->Append(wxID_EXIT);
> > wxMenuBar *menuBar = new wxMenuBar;
> > menuBar->Append(menuFile, "");
> > SetMenuBar(menuBar);
> > CreateStatusBar();
> > SetStatusText("Welcome to wxWidgets!");
> > }
> >
> > wxIMPLEMENT_APP(MyApp);
> >
> >
> > WHEN I BUILD :
> >
> > g++ -Wall -o "wxhello" "wxhello.cpp" (dans le dossier : 
> > /home/jpc/projets/Learning_Cpp)
> > In file included from wxhello.cpp:2:
> > /usr/include/wx-3.2/wx/wx.h:14:10: fatal error: wx/defs.h: Aucun fichier ou 
> > dossier de ce type
> >14 | #include "wx/defs.h"
> >   |  ^~~
> > compilation terminated.
> > Compilation échouée.
> >
> > What, where and how to configure Geany Please ?
> >
> > Janfi
> >
> >
> >
> >
> >
> > ___
> > Users mailing list -- users@lists.geany.org
> > To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Help to start c++ with Geany

2023-05-13 Thread Lex Trotman via Users
Note this is a wx question, not a Geany question.

You need to set the wx includes directories for compiles and probably
library directories for the linker.

I am not a wx user and my quick perusal of the wx website did not show
any information about how to build a wx program, not even the "hello
world" one.

Perhaps you can ask on the wx support and point out that this is
missing information for newbies.

Cheers
Lex

On Sat, 13 May 2023 at 21:00, Jean-Philippe Combe via Users
 wrote:
>
> Hello everyone,
>
> I use Geany for many years for Pearl and MQL4 language but I would like to 
> learn standard c++ with Geany and I have some problems to compile :
>
> My example program :
> //#include 
> #include "/usr/include/wx-3.2/wx/wx.h"  // this file exists !
>
> class MyApp : public wxApp
> {
> public:
> virtual bool OnInit();
> };
>
> class MyFrame : public wxFrame
> {
> public:
> MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size);
> };
>
> bool MyApp::OnInit()
> {
> MyFrame *frame = new MyFrame("Hello World", wxPoint(50, 50), wxSize(450, 
> 340));
> frame->Show(true);
> return true;
> }
>
> MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& 
> size)
> : wxFrame(NULL, wxID_ANY, title, pos, size)
> {
> wxMenu *menuFile = new wxMenu;
> menuFile->Append(wxID_EXIT);
> wxMenuBar *menuBar = new wxMenuBar;
> menuBar->Append(menuFile, "");
> SetMenuBar(menuBar);
> CreateStatusBar();
> SetStatusText("Welcome to wxWidgets!");
> }
>
> wxIMPLEMENT_APP(MyApp);
>
>
> WHEN I BUILD :
>
> g++ -Wall -o "wxhello" "wxhello.cpp" (dans le dossier : 
> /home/jpc/projets/Learning_Cpp)
> In file included from wxhello.cpp:2:
> /usr/include/wx-3.2/wx/wx.h:14:10: fatal error: wx/defs.h: Aucun fichier ou 
> dossier de ce type
>14 | #include "wx/defs.h"
>   |  ^~~
> compilation terminated.
> Compilation échouée.
>
> What, where and how to configure Geany Please ?
>
> Janfi
>
>
>
>
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Converting HTML entities in text to UTF-8

2023-05-12 Thread Lex Trotman via Users
A pull request means you have written the C code to provide the
feature and are providing it to the project.  Are you a competent C
programmer?
If so "somebody" refers to you and github help and Geany HACKING file
should be your starting point.

If you are not a competent C programmer then "somebody" refers to
"somebody who isn't you, or me" :-)

Cheers
Lex

On Sat, 13 May 2023 at 12:02, H via Users  wrote:
>
> On May 12, 2023 9:45:44 PM EDT, Lex Trotman via Users  
> wrote:
> >If "somebody" provided a pull request it could probably be added.
> >
> >Cheers
> >Lex
> >
> >On Sat, 13 May 2023 at 11:17, H via Users 
> >wrote:
> >>
> >> On 05/11/2023 07:33 PM, Lex Trotman via Users wrote:
> >> > On Fri, 12 May 2023 at 07:17, H via Users 
> >wrote:
> >> >> Using Geany, is it possible to convert an existing text that
> >contains HTML entities to UTF-8 characters?
> >> > No, and I'm not sure what would do it except writing a custom
> >script
> >> > in Python or similar language.
> >> >
> >> > Cheers
> >> > Lex
> >> >
> >> >> ___
> >> >> Users mailing list -- users@lists.geany.org
> >> >> To unsubscribe send an email to users-le...@lists.geany.org
> >> > ___
> >> > Users mailing list -- users@lists.geany.org
> >> > To unsubscribe send an email to users-le...@lists.geany.org
> >>
> >> I see, that would have been a nice additional function. Perhaps the
> >author of the excellent plugin "HTML Characters" could be persuaded to
> >add it since it is the reverse of what that plugin does?
> >>
> >> ___
> >> Users mailing list -- users@lists.geany.org
> >> To unsubscribe send an email to users-le...@lists.geany.org
> >___
> >Users mailing list -- users@lists.geany.org
> >To unsubscribe send an email to users-le...@lists.geany.org
>
> Ok, I'll provide a pull request but how do I do that?
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Converting HTML entities in text to UTF-8

2023-05-12 Thread Lex Trotman via Users
If "somebody" provided a pull request it could probably be added.

Cheers
Lex

On Sat, 13 May 2023 at 11:17, H via Users  wrote:
>
> On 05/11/2023 07:33 PM, Lex Trotman via Users wrote:
> > On Fri, 12 May 2023 at 07:17, H via Users  wrote:
> >> Using Geany, is it possible to convert an existing text that contains HTML 
> >> entities to UTF-8 characters?
> > No, and I'm not sure what would do it except writing a custom script
> > in Python or similar language.
> >
> > Cheers
> > Lex
> >
> >> ___
> >> Users mailing list -- users@lists.geany.org
> >> To unsubscribe send an email to users-le...@lists.geany.org
> > ___
> > Users mailing list -- users@lists.geany.org
> > To unsubscribe send an email to users-le...@lists.geany.org
>
> I see, that would have been a nice additional function. Perhaps the author of 
> the excellent plugin "HTML Characters" could be persuaded to add it since it 
> is the reverse of what that plugin does?
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Converting HTML entities in text to UTF-8

2023-05-11 Thread Lex Trotman via Users
On Fri, 12 May 2023 at 07:17, H via Users  wrote:
>
> Using Geany, is it possible to convert an existing text that contains HTML 
> entities to UTF-8 characters?

No, and I'm not sure what would do it except writing a custom script
in Python or similar language.

Cheers
Lex

>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: How to add a file to the project?

2023-04-25 Thread Lex Trotman via Users
On Tue, 25 Apr 2023 at 22:32, Georg-Johann Lay via Users
 wrote:
>
> Hi, i am new to Geany and am having trouble adding files to a project.
>
> What I did is to start a new project and then open files that I want to
> add to the project.  The "Documents" view then looks like
>
> Project
> +-- Makefile
> +-- main.cpp
>
> The files already exists.
>
> Now when I close a file in the editor view, it gets removed from the
> project!
>
> In order to open the file again, I have to do "open" and browse the file
> system every time.
>
> How can I add a file to a project permanently?

A Geany "project" is a different thing from a VS/Eclipse/Vscode "project".

It is essentially a named session tracking the files you have open
plus a few settings that can be project specific.

The "Documents" (__not__ "Files") tab tracks open files, so when you
close a tab naturally it is removed from the documents tab.

There is a File Browser plugin that shows files in the project
directory (by setting one of its preferences).  This gives something
closer to the "project is directory" concept that Vscode uses.

By keeping the Geany concept minimal plugins can then add more
capability to the "project" concept without fighting it, see for
example the "Project Organiser" plugin in the Geany-plugins project.

Cheers
Lex

>
> Thanks
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: geany plugin in c++

2023-03-18 Thread Lex Trotman via Users
On Sun, 19 Mar 2023 at 13:39, Liomar da Hora via Users
 wrote:
>
> hello!
> Can anyone tell me where I find an example of plugin made in c++?

There is no specific "example" for C++ and IIRC none of the
Geany-plugins is C++ but a new one has been submitted that is but
https://github.com/geany/geany-plugins/pull/1221

Cheers
Lex

> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Using Set Build Commands

2023-03-13 Thread Lex Trotman via Users
On Tue, 14 Mar 2023 at 02:43, cryoking--- via Users
 wrote:
>
> Thanks Lex,
>
> In my case project name is also the name of the projects directory, ex.:  
> C:\Users\RCK\projects\project_name.
>
> Is there a way to get the absolute project_name without the path?

Not as part of Geany, maybe you can make a script that gets the
basename and uses that in your command?

>
> I was able to do this once before but can't remember how.
>
> I appreciate your help. Thanks again,
>
> Regards,
> Robert
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Using Set Build Commands

2023-03-12 Thread Lex Trotman via Users
On Mon, 13 Mar 2023 at 00:27, cryoking--- via Users
 wrote:
>
> I am setting a new build command and need to include the Geany project name 
> as a variable. Is there one defined?

No, only the substitutions listed in the manual
https://www.geany.org/manual/current/index.html#substitutions-in-commands-and-working-directories

Cheers
Lex

>
> Regards,
> Robert
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: How to learn Geany to use another Lexer?

2023-02-27 Thread Lex Trotman via Users
On Tue, 28 Feb 2023 at 07:02, Willi Egger via Users
 wrote:
>
> 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.

To answer this and your previous in one, to add parsers (assuming its
in ctags) and lexers (assuming its in Lexilla) you need to make a
Geany built-in filetype which is documented in HACKING (and see also
github for recent language additions, eg Julia).

Cheers
Lex

>
> Kind regards
>
> Willi
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: help highlight comment disable

2023-02-21 Thread Lex Trotman via Users
On Wed, 22 Feb 2023 at 01:19, stefano cerbioni via Users
 wrote:
>
> i know  i just do that  and  work but i dont know  how , i active  highlight 
> comment , and now  i cant find  a  option for disable it
>

It is enabled by the filetypes.Ring.conf file as part of the Ring
filetype, you need to edit that file, or remove it (which will remove
the filetype).

>
> Il giorno mar 21 feb 2023 alle ore 12:28 Lex Trotman via Users 
>  ha scritto:
>>
>> On Tue, 21 Feb 2023 at 18:23, Ban via Users  wrote:
>> >
>> > What do you mean "highlight comment"? I'm wondering because you're saying 
>> > you activated it, so I'm not sure you're referring to syntax highlighting 
>> > (code coloration) or something else.
>> >
>> > Also I don't think we have any Ring file type (correct me if I'm wrong), 
>> > so is that custom from somewhere?
>>
>> The ring project
>> https://ring-lang.github.io/doc1.17/codeeditors.html#using-geany
>>
>> > ___
>> > Users mailing list -- users@lists.geany.org
>> > To unsubscribe send an email to users-le...@lists.geany.org
>> ___
>> Users mailing list -- users@lists.geany.org
>> To unsubscribe send an email to users-le...@lists.geany.org
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: help highlight comment disable

2023-02-21 Thread Lex Trotman via Users
On Tue, 21 Feb 2023 at 18:23, Ban via Users  wrote:
>
> What do you mean "highlight comment"? I'm wondering because you're saying you 
> activated it, so I'm not sure you're referring to syntax highlighting (code 
> coloration) or something else.
>
> Also I don't think we have any Ring file type (correct me if I'm wrong), so 
> is that custom from somewhere?

The ring project
https://ring-lang.github.io/doc1.17/codeeditors.html#using-geany

> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: help highlight comment disable

2023-02-20 Thread Lex Trotman via Users
On Tue, 21 Feb 2023 at 08:47, stefano cerbioni via Users
 wrote:
>
> hi  fellows i  active  highlight comments in geany anyone know  how  to 
> disable this f. function??
> i have  geany 1.38 in linux mint 64

You can't "disable" it if the lexer does comment recognition, but you
can set the comment style to default for the language you are using.

Cheers
Lex

>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: how to change preferences?

2023-02-15 Thread Lex Trotman via Users
On Wed, 15 Feb 2023 at 19:27, Garthur via Users  wrote:
>
> 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

Menu->Edit->Preferences->General->miscellaneous->Search->Hide the find 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

Edit->Preferences->Files->Saving Files->Strip trailing spaces and tabs

Cheers
Lex

>
> pref_editor_newline_strip=false
>
> Best regards ripspin
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Building 1.38 on Linux

2023-02-14 Thread Lex Trotman via Users
On Wed, 15 Feb 2023 at 10:53, Woodrow Stool via Users
 wrote:
>
> 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?

If you ran the default build commands then Geany will be installed in
the default prefix (/usr/local IIRC).  You need to ensure that
${geany-prefix}/bin appears in your path before the location of the
1.36 version.

Xfce menu setups are part of the distros packaging, not something
Geany from source will do.

Cheers
Lex

>
> - Tom
>
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Error loading Geany on Ubuntu 22: …/geany.glade. No such file

2023-02-05 Thread Lex Trotman via Users
On Mon, 6 Feb 2023 at 08:54, o1bigtenor via Users  wrote:
>
> On Sun, Feb 5, 2023 at 3:02 PM Willi Egger via Users
>  wrote:
> >
> > Good evening Lex,
> >
> > thank you for your answer.
> >
> > I uninstalled Geany and reinstalled it (snap).

The snaps are not made by the Geany project (in fact we are not aware
of it), so any problems with it is not something we can help with.

As suggested below you could try apt, or synaptic for a GUI version,
the packager for the Ubuntu apt is in communication with the Geany
project.

Cheers
Lex

PS if that doesn't work, then change distros, its far more important
that Geany works than which distro ;-P

> >
> > The error however remains. — I think there is a clash with the path. The 
> > error message says that geany.glade does not exist in /share/geany. — The 
> > file resides in /usr/share/geany and yes it is present in that directory.
> >
> > What to do?
> >
>
> Hmmm - - - - venturing a very long walk off of a very short pier (grin!)
>
> You are installing using snapd.
>
> Try installing using apt.
>
> HTH
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Contents of geany_run_script.sh

2023-02-04 Thread Lex Trotman via Users
On Sun, 5 Feb 2023 at 06:20, geuristic via Users  wrote:
>
> 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, 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.

See 
https://github.com/geany/geany/blob/4508f77a1150b37d5e16c3e7fc9c7223bc591e88/src/build.c#L1149

Cheers
Lex

>
> Regards,
> Geuristic
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: Error loading Geany on Ubuntu 22: …/geany.glade. No such file

2023-02-03 Thread Lex Trotman via Users
Looks like your upgrade deleted the glade file.  Just re-installing
Geany will probably fix it.


On Sat, 4 Feb 2023 at 07:41, Willi Egger via Users
 wrote:
>
> Good evening!
> I updated my Linux Laptop to Ubuntu 22. Now I can not start Geany anymore.
>
> Is there a patch for this?
>
> Kind regards
> Willi
> ___
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


  1   2   3   4   5   6   7   >