To change the size of the scrollbar in the editor, one can add for example this code in the document geany.css that is located in .geany:
```
/* size of the scrollbar */
scrollbar slider {
min-width: 10px;
border-right: 10px solid transparent;
}
```
But the code has no influence on the scrollbar of the sidebar.
How can I change the size of the scrollbar in the sidebar?
Thank you in advance for an answer.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/3953
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/repo-discussions/3953(a)github.com>
Hi, elextr
Yes, must look for debugger plugin, forgot about it, thanks, but it what concerns plugin, beside this, as you answered here [geany-plugins issue #1373](https://github.com/geany/geany-plugins/issues/1373), plugins don't have access to Geany's internal terminal, so something like geany.launch ("internal terminal","gdb","run") is not possible.
What I meant is to pass breakpoints without plugins only using build menu.
For example there is %e which is replaced by the same filename but without the last extension, so I thought maybe there is something like %marker (array of lines markers) to pass to GDB using only build menu.
For now as I see it is better to use simply ```gcc -g -o "%e" "%f" && gdb --quiet "./%e"```
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/3952#discussioncomment-10651301
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/repo-discussions/3952/comments/10651301(a)github.com>
Hello
GDB is very useful but rather difficult to use, so there are GUI and TUI interfaces for it to simplify using.
In Geany there are two GUI plugins: Debugger and Scope, as I understand Scope is more feature rich.
For Ncurses TUI we have [CGDB](https://github.com/cgdb/cgdb) and [GDB TUI](https://dev.to/irby/making-gdb-easier-the-tui-interface-15l2). As allways all have its pros and cons. But real revolution maybe :) happened with Python added to GDB version 7.
It allowed to make very useful and pretty TUIs.
I have wanted to share some info about such Python TUI called [GDB dashboard](https://github.com/cyrus-and/gdb-dashboard).
Similar project are [GEF](https://github.com/hugsy/gef) and [PWNBG](https://github.com/pwndbg/pwndbg) but more advanced - for reversed engineering etc. By the way all projects are in official repos of Arch Linux.
So this is the final result of simple integration of GDB dashboard in Geany:
![Geany_GDB-Dashboard](https://github.com/user-attachments/assets/3584c3ee-dde6-472e-a47b-8edf87031cbe)
So how it's done:
**1. GDB Dashboard installation**
**Method 1:**
install it through your package manager, ex. Arch Linux:
```sudo pacman -Sy gdb-dashboard```
and copy .gdbinit file to your home folder
```cp /usr/share/gdb-dashboard/.gdbinit ~/```
**Method 2:**
install it directly from github:
```wget -P ~ https://github.com/cyrus-and/gdb-dashboard/raw/master/.gdbinit```
**2. GDB Dashboard configuration (optional)**
if you want to configure layouts for example, you can do it so:
```mkdir ~/.gdbinit.d/```
```nano ~/.gdbinit.d/init```
and enter the following text for example (choose layouts you need):
```dashboard -layout assembly registers breakpoints stack threads```
**3. Geany build menu configuration (C example)**
create a new Build Debug option with the following string:
```gcc -g -o "%e" "%f" && gdb --quiet "./%e"```
in example on picture it is configured so (only for testing):
```gcc -g -o "%e" "%f" && gdb --quiet "./%e" -ex "break main" -ex "run"```
That's it. I really like GDB Dashboard, but there is a question to make better integration with Geany.
Is it possible to pass to GDB markers of lines (as parameters - array for example) to using those as breakpoints or maybe it is possible with LUA or C plugin ?
I have searched info in Geany API and so on but couldn't find it.
Thanks and thanks for such a great lightweight ide as Geany :)
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3951
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3951(a)github.com>
Funnily enough as I was trying to color the indent guides I found a bug with my bracketcolors plugin.
![image](https://github.com/user-attachments/assets/0a3a5b60-d94b-406d-8bab-3c67668b8798)
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1221#issuecomment-2347381734
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/pull/1221/c2347381734(a)github.com>
> Good thing to ping it so "somebody" is reminded to try it and merge if they get a chance. Otherwise things get lost/forgotten, if it happens that nobody has time immediately, don't leave it nearly a year until the next ping.
Understood! Would someone be so kind as to approve my latest changes now?
With regards to the coloring the indent guides, I feel like it should be possible and I got pretty close but no dice yet.
Using the scintilla API I can quickly and easily infer what the indentation color should be, but using `SSM(sci, SCI_STYLESETFORE, STYLE_INDENTGUIDE, color)` sets the guide color for the entire document not just an indentation block.
Using indicators and `INDIC_BOX` I feel like I could probably implement the right half of this example but I personally think it looks ugly.
![image](https://github.com/user-attachments/assets/e28c90af-4664-4def-b9c3-6f98fb4bd759)
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1221#issuecomment-2347373118
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/pull/1221/c2347373118(a)github.com>
Good thing to ping it so "somebody" is reminded to try it and merge if they get a chance. Otherwise things get lost/forgotten, if it happens that nobody has time immediately, don't leave it nearly a year until the next ping.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1221#issuecomment-2342403568
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/pull/1221/c2342403568(a)github.com>
I think it would be useful and cool to colorize the indentation guides in a similar manner. Would this functionality be better as a separate plugin or would it make more sense to include it here but maybe rename the plugin?
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1221#issuecomment-2341577141
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/pull/1221/c2341577141(a)github.com>
Without this, the symbol_highlight_provided() function is called for all the session files which starts LSP servers for all filetypes of the open files instead of lazily as the file tabs of individual files get selected.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3945
-- Commit Summary --
* Don't call plugin extension functions when opening session files
-- File Changes --
M src/pluginextension.c (6)
-- Patch Links --
https://github.com/geany/geany/pull/3945.patchhttps://github.com/geany/geany/pull/3945.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3945
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3945(a)github.com>