>From [Geany #1959](https://github.com/geany/geany/issues/1959):
I think it's not Geany’s task: adding this additional functionality to the plugin is more logical. And we can use existing plugins, in this case we have all power of Lua or Python (GeanyLua, GeanyPy, Peasy).
"Open selected file" (Ctrl+Shift+O) is a function ```src/document.c:on_menu_open_selected_file1_activate()```, I wrote a Lua script https://pastebin.com/JuvRhRRu (last version), but it's too big :)
Well, I decided that it is logical to hang this task on the plugin, entirely: https://pastebin.com/TiL8wMeH But one problem: function ```src/utils.c:utils_tidy_path()``` is not available for plugins. Yes, I can just copy this function to plugin, but it's somehow stupid, I think that function ```utils_tidy_path()``` can be to add to list of functions when available for plugins. Or maybe not (bump ABI and other) :)
Function like as ```glspi_selfile()``` would be useful in other non-specific (i.e. for general purpose) plugins too - GeanyPy, Peasy. Or maybe writing Lua- or Python-script as a separate module is the best solution. I don't know now.
Any opinions? Ideas?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/786
The auto-close brackets does work only for the first outer brackets (parenthesis,curly braces,square brackets), if one wants to have further brackets inside they are not auto-closed. It would be great if auto-closing where possible for any number of times and depth inside other same-brackets.
The following will happen if want 2 times brackets inside each other:
[[]
(()
{{}
it would be great if it could happen like this:
[[]]
(())
{{}}
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1041
Hi,
I'm currently having the following error message on Windows when trying to use Geany for a python script:
>
> '\\foo.com\01-DEV\TOTO'
> CMD.EXE was started with the above path as the current directory.
> UNC paths are not supported. Defaulting to Windows directory.
> '\\foo.com\01-DEV\TOTO'
> CMD does not support UNC paths as current directories.
> C:\Users\rsentiesmartinelli\Documents\Anaconda2\python.exe: can't open file 'launch.py': [Errno 2] No such file or directory
>
>
> ------------------
> (program exited with code: 2)
>
> Press any key to continue . . .
Is there anyway to fix that? I love Geany on GNU/Linux and it would be great to be able of using it on Windows.
Thanks,
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1963
Latest nightly (10-19-2018) from `https://nightly.geany.org/win32/`
Installed with the instructions on that page of:
````
Usage:
Just extract this zip archive into your regular Geany installation
directory and start Geany. The About dialog should mention the
revision number in the header which was used when creating these files.
````
I receive this error, and Geany refuses to launch:
![snag_10-19-2018_17-10-32](https://user-images.githubusercontent.com/9301483/47246168-e3f41680-d3eb-11e8-9246-0769b43a7ea8.png)
Prior to extracting today's nightly zip over the 1.31 install as instructed, Geany 1.31 opened fine and if I uninstall, remove the entire Geany folder, and reinstall 1.31, returns to opening fine. Only with the new binaries overlaid does it refuse to even launch.
I know nightlies are "unsupported" but thought it was worth opening an issue if one won't even open. :)
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1979
Don't use the files inode as the hash. Although it looks like a good idea for de-duplicating links as well, it has several issues, including non-uniqueness of inodes across file systems.
The way it was done hashing the inode but comparing the file name string pointers also made the hash mostly irrelevant, as it just stored filenames sharing the same inode in the same hash bucket but without
actually doing any de-duplication, making the whole thing a convoluted way of converting to a list.
Instead, hash and compare the filenames themselves, which, even though it doesn't handle links de-duplication, is better than the non-functional previous code.
Also, directly build the list and only use the hash table as a way for checking for duplicates, which is both faster and gives a stable output.
See #1989
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/1991
-- Commit Summary --
* tm: Cleanup include lookup
-- File Changes --
M src/tagmanager/tm_workspace.c (18)
-- Patch Links --
https://github.com/geany/geany/pull/1991.patchhttps://github.com/geany/geany/pull/1991.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1991
PLEASE PLEASE PLEASE restrict popup dialogs to the active display/screen where the main editor window is located...Far too often I lost the search dialog when I reconfigure my system from twinview back to a single monitor display. This is a PITA to work around!
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1872
I would like to be able to set my terminal's path to what directory I'm in with the file manager plugin. I cannot seem to find what class the terminal feature is in nor do I know C/C++ very well.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1990