[Github-comments] Re: [geany/geany] Add a 1px black border around the tab-switcher (Issue #3797)

2024-03-24 Thread xiota via Github-comments
I see now.  Yes, different popup.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3797#issuecomment-2017027850
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Add a 1px black border around the tab-switcher (Issue #3797)

2024-03-24 Thread elextr via Github-comments
@xiota h, we seem to be talking about different things.  Here (Geany 1.38 
and 2.0) shift+f10 does not create a dialog, it creates a popup menu, which 
isn't named.  

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3797#issuecomment-2016996898
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Add a 1px black border around the tab-switcher (Issue #3797)

2024-03-24 Thread xiota via Github-comments
Unknown reason, the tab switcher dialog on my computer is named GeanyDialog, 
and the CSS I pasted does work.

Maybe the switcher dialog should be assigned a name (GeanyDialogSwitcher?) so 
that it can be styled more easily after the next release.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3797#issuecomment-2016970972
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany-plugins] Feature request - extend plugin Save Actions - code fixers (Issue #1319)

2024-03-24 Thread elextr via Github-comments
@StrayFeral adding extra build menu entries is possible but is not dynamic, 
look at the Geany wiki, there is a small thesis on configuring the build menu, 
it even explains the file format so after studying that you are qualified to 
edit it if you _really_ need to ;-).

Note that due to limitations of the implementation of the keybinding prefs as a 
fixed menu it is not possible to bind shortcuts to additional build items, but 
you can use accelerators.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1319#issuecomment-2016966519
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Add a 1px black border around the tab-switcher (Issue #3797)

2024-03-24 Thread elextr via Github-comments
@xiota does that change the tab switcher popup, AFAICT (from the code) it has 
no name?  @ralf3u thats why I suggested using "menu" as the selector.

AFAICT GeanyDialog is only used for dialogs, except for GeanyDialogSearch and 
GeanyDialogProject which for some reason have their own names.

But as I keep saying, what things look like is set by the _user_ theme, we 
should not be overriding everybodys theme with our own CSS just because one 
theme does not do something somebody wants.  Note that the theme @ralf3u uses 
works on normal screens, the problem is with the characteristics of epaper 
displays.

It would be nice if the manual did not just list "some interesting" widget 
names and listed all of them, contributions welcome.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3797#issuecomment-2016962481
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Add a 1px black border around the tab-switcher (Issue #3797)

2024-03-24 Thread ralf3u via Github-comments
I added the code from the last comment in geany.css.
First in geany.css that is located in .config/geany/, and then in geany.css 
that is located in /usr/share/geany/.
After a restart of Geany the tab-switcher has still no border.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3797#issuecomment-2016961929
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Add a 1px black border around the tab-switcher (Issue #3797)

2024-03-24 Thread xiota via Github-comments
I found the name "GeanyDialog".  Maybe following should be added to default 
`geany.css` because the existing dialog (at least on my computer) is a 
borderless rectangle that blends in with the background.
```
#GeanyDialog {
border-width: 2px;
border-style: solid;
border-color: black;
}
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3797#issuecomment-2016955115
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Add a 1px black border around the tab-switcher (Issue #3797)

2024-03-24 Thread elextr via Github-comments
@ralf3u 
> > You could try applying it to all menus [...]

> How?

menu??

Most GTK classes have the CSS nodes specified in the docs, like 
[menu](https://docs.gtk.org/gtk3/class.Menu.html#css-nodes)

@eht16 The popup is a dynamically created menu, can you invoke the inspector 
while it remains visible?


-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3797#issuecomment-2016951071
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] [Small bug] (I think): geany appends a newline upon saving a file (Issue #3801)

2024-03-24 Thread elextr via Github-comments
I see you found #2560, see there.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3801#issuecomment-2016947893
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] [Small bug] (I think): geany appends a newline upon saving a file (Issue #3801)

2024-03-24 Thread elextr via Github-comments
Closed #3801 as completed.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3801#event-12227609276
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Why is an extra line added to the end of lua files? (#2560)

2024-03-24 Thread elextr via Github-comments
@rubyFeedback 

Does not happen here if the pref is off.

Do you have a project open?  Remember that it overrides the prefs setting as 
noted in the reply above.

The reply above notes that the line end at eof is required by POSIX and is 
complained about by git if missing, thats why its default, but its still an 
option, so if you don't want it turn it off.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2560#issuecomment-2016947323
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] [geany/geany-plugins] A release of a click on the tab-title of a plugin-tab in the sidebar should put the content of the tab in focus (Issue #1320)

2024-03-24 Thread ralf3u via Github-comments
**Behavior in the editor**
click in the editor on a tab-title
result: the content of the tab is in focus, how it should be, what can be 
tested with the arrow-up/down-key of the keyboard

**Behavior of the Documents-tab in the sidebar**
click in the sidebar on the tab-title of the Documents-tab
result: the content of the Documents-tab is in focus, how it should be, what 
can be tested with the arrow-down-key of the keyboard

**Behavior of the Preview-tab in the sidebar**
(the Preview-tab ist part of the plugin Preview: 
https://github.com/xiota/geany-preview)
click in the sidebar on the tab-title of the Preview-tab
result: the content of the Preview-tab is NOT in focus, what can be tested with 
the arrow-up/down-key of the keyboard when a very long webpage is shown in the 
Preview-tab

**Behavior of the Files-tab in the sidebar (the Files-tab ist part of the 
plugin File Browser)**
click in the sidebar on the tab-title of the Files-tab
result: the content of the Files-tab is NOT in focus, what can be tested with 
the arrow-up/down-key of the keyboard; after a release of a click in the 
tab-title of the Files-tab the first tool of the toolbar is in focus that is 
located in the Files-tab

**Possible problem**
it could be that the problem in Preview is that a not existing toolbar is in 
focus by default after a release of a click on the tab-title of the 
Preview-tab, like on the Files-tab, because if I press 1x the arrow-down-key, 
then the content of the Preview-tab is in focus

**History**
This issue is based on the knowledge of 
https://github.com/xiota/geany-preview/issues/15.

**System**
Lubuntu 23.10
Geany 1.38

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1320
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Why is an extra line added to the end of lua files? (#2560)

2024-03-24 Thread rubyFeedback via Github-comments
I have a similar problem, but I have the option ticked off. Not sure why a 
newline is appended.

Either way I think this should not be the default that the editor is making 
changes to the content.
The original content was x; geany appends a "\n" there means that geany 
modifies the original
content. I don't think this should be done by default.

Note that editors such as vim or nano don't do this either. I don't think it 
should be the default.
Right now this annoys me immensely, even if I am hitting this due to some bug 
(e. g. I have
the check-box unchecked but a newline is still appended, so I can not really 
control geany's
behaviour right now.)

It's ok as an option of course.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2560#issuecomment-2016930040
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] [geany/geany] [Small bug] (I think): geany appends a newline upon saving a file (Issue #3801)

2024-03-24 Thread rubyFeedback via Github-comments
I have in Edit -> Preferences set 
"Ensure new line at file end"
clicked off, e. g. the checkbox has no checked-arrow there.

Yet upon saving the file (a .rb file), geany still appends a newline there.

Does this work for other folks?

Irrespective of whether this is a bug or not, I'd like to see this behaviour
not be enabled by default. Reason being that an editor should be 
"what you type is what you get" rather than automatically append
the file content by default. (It's ok to have this as an option of course,
but it should not be the default.)

If there was an old discussion about this behaviour perhaps someone
can provide a pointer to it.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3801
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Add a 1px black border around the tab-switcher (Issue #3797)

2024-03-24 Thread Enrico Tröger via Github-comments
Maybe the GTK Inspector can help, https://wiki.gnome.org/Projects/GTK/Inspector.

Basically, enable it by executing `gsettings set org.gtk.Settings.Debug 
enable-inspector-keybinding true` and then start it from within Geany with the 
keyboard shortcut `Control-Shift-D`.

The inspector allows to pick various GUI objects and show the CSS path. 
However, I failed to pick the mentioned menu. Surely there is some trick to get 
it.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3797#issuecomment-2016882890
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany-plugins] Feature request - extend plugin Save Actions - code fixers (Issue #1319)

2024-03-24 Thread Enrico Tröger via Github-comments
Closed #1319 as not planned.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1319#event-12227163281
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany-plugins] Feature request - extend plugin Save Actions - code fixers (Issue #1319)

2024-03-24 Thread Enrico Tröger via Github-comments
Duplicate of [#3295](https://github.com/geany/geany/issues/3295). There are 
some ideas on how to implement it but it still needs someone to do it :).

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1319#issuecomment-2016881883
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Add a 1px black border around the tab-switcher (Issue #3797)

2024-03-24 Thread ralf3u via Github-comments
>You could try applying it to all menus [...]

How?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3797#issuecomment-2016824876
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] [Feature request] Show the full path of opened files in geany (Issue #3800)

2024-03-24 Thread ralf3u via Github-comments
>However had, often I can not tell WHERE the files are.

Do you know that if you go with the mouse over a tab-title, the full path will 
appear?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3800#issuecomment-2016823491
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] [geany/geany] [Feature request] Show the full path of opened files in geany (Issue #3800)

2024-03-24 Thread rubyFeedback via Github-comments
So I recently decided to abandon my old gtk2-based editor after some +15 years,
largely because I can no longer compile gtk2 from source, for reasons related
to the glib stack (something has been deprecated and I don't know the 
workaround,
but I can no longer wait for anyone upstream patching gtk2, so I now took the
full dive finally).

I toyed with the idea of sublime, but I think I am less likely to adjust 
sublime towards
behaviour I am quite use, as opposed to geany, which is open source. So I'll 
give
geany a more serious try this time. I used it in the past, e. g. for C++ files, 
but not
yet for all files. Right now I am using geany for ALL files.

There are many small issues but I don't want to spam the issue tracker with tons
of ideas that are possibly only for my own use case. Nonetheless I hope to be
able to convince the geany devs towards more flexibility in general, via options
and preferences we could toggle as-is. Geany already supports quite many 
options, so I hope we can support even more options - if they make sense.

Alright - now to the issue here.

First, have a look at this screenshot:

https://i.imgur.com/mWzOafF.png

You can see the open files. Evidently I am currently modifying a german exam
question test for evolution of hominids / hominidae :D - the key issue, though,
is the pop-up widget that shows the opened files.

The currently selected file is shown in bold - that is nice.

However had, often I can not tell WHERE the files are. Some may be same-named
or similarly-named, so I would like to also have the option to show the full 
path
right there (left-padded, e. g. all are aligned towards the left-side, but on 
the
right side we may allow overflow; the full widget width would thus be determined
by the file with the longest name.)

I am very much used to that behaviour from my old editor, where I can see the
full path at all times.

So, my issue request would be for geany to add an option to show the FULL 
path instead, rather than the truncated path (in ruby, the filename itself
would be obtained via File.basename(), so instead I would be looking for
File.absolute_path() - not sure how C does this but perhaps gtk has some 
method that shows the full path).

In the option dialogue, we would then have to add a new entry at
**Preferences -> Files**; perhaps call it, as a check-button, "Show full
path of files". This would NOT be the default, so everyone could enjoy
the current behaviour of geany, rather than adjust to the one proposed
in this issue request.

As for a more objective rationale for this feature: we would instantly
know where the file resides at. (Actually, my old editor not only made
the current file bold, but used different colours too. But I am perfectly
fine without colours here too, I just need the feature that I know the
full path at all times, as this is less confusing to me than merely the
short-filename itself as such.)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3800
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany-plugins] Feature request - extend plugin Save Actions - code fixers (Issue #1319)

2024-03-24 Thread Evgueni Antonov via Github-comments
Yes, I told you I was looking there, but I don't see my menu item there.

Also there is no "New" button, there is only "Change" button which means I 
could only change existing menu items.

In the entire "Build" menu my item is not there.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1319#issuecomment-2016787608
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany-plugins] Feature request - extend plugin Save Actions - code fixers (Issue #1319)

2024-03-24 Thread elextr via Github-comments
Would be better if you didn't play with files you don't understand, just use 
the GUI "set build commands" menu items.

See "Edit->preferences->keybindings" for setting keybindings.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1319#issuecomment-2016770166
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany-plugins] Feature request - extend plugin Save Actions - code fixers (Issue #1319)

2024-03-24 Thread Evgueni Antonov via Github-comments
PS: I experimented by moving the _Pythonic format from he EX_01_blah to 
FT_02_blah (no idea what FT and EX stand for). Result is the menu item just got 
under "Lint", but no keybinding assigned. I tried also Edit > Preferences > 
Keybindings, but I don't see it there.

Hope you could help.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1319#issuecomment-2016756298
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany-plugins] Feature request - extend plugin Save Actions - code fixers (Issue #1319)

2024-03-24 Thread Evgueni Antonov via Github-comments
As you mentioned in #3799 as a workaround, on linux several commands could be 
executed by separating with semi-colon. So I did it.

So this now works for me as a workaround. However I still need a little help - 
I don't understand how Geany decides to automatically assign a keybinding to a 
certain menu item. For example the Lint build menu command automatically got F9 
assigned to it.

Is there a way for me to specify a keybinding to a certain menu item OR at 
least could you let me know how Geany does automatically this, because I want 
my new "python formatting" menu item to get a keybinding. Point is - until I 
wait for someone to implement this in the "AutoSave actions" (if ever 
implemented), to have at least being run by a keystroke, rather than clicking 
with the mouse trough the menu.

So in my situation I have a build menu item "Pythonic format" (written exactly 
like this) and at least I want to execute it with let's say F10 or CTRL+F9, 
something like this.

Hope you could help. Thanks

By the way this is exactly what my Python build menu is:
`[build-menu]
FT_01_LB=_Lint
FT_01_CM=flake8 "%f";mypy "%f"
FT_01_WD=
FT_02_LB=
FT_02_CM=
FT_02_WD=
EX_01_LB=Pythonic format
EX_01_CM=black "%f";isort "%f"
EX_01_WD=`

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1319#issuecomment-2016753975
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Plugin request: Run several linters (Issue #3799)

2024-03-24 Thread Evgueni Antonov via Github-comments
Closing issue

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3799#issuecomment-2016751747
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Plugin request: Run several linters (Issue #3799)

2024-03-24 Thread Evgueni Antonov via Github-comments
Closed #3799 as completed.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3799#event-12226204378
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Plugin request: Run several linters (Issue #3799)

2024-03-24 Thread Evgueni Antonov via Github-comments
I am on Lubuntu. Your proposed workaround works for me, so I will close this 
issue now.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3799#issuecomment-2016751614
You are receiving this because you are subscribed to this thread.

Message ID: