- When I edit a Mac File (registered with only CR at the end of each line), Geany shows a new empty line at the end of the file, like as a LF character was here :
![CR](https://user-images.githubusercontent.com/3955499/69520007-bae17600-0f5b-11ea-871c-3ab5dfaf9072.png)
I agree with this if it's a CRLF or LF file, but with a CR file, the cursor should stay on the last non-empty line and geany shouldn't add an empty line at the end of the file, isn't it ?
(the file is correctly registered, it's only a problem on the screen)
- It would be even better to show a CR file like mcedit, without any LF :
![image](https://user-images.githubusercontent.com/3955499/69520270-7b675980-0f5c-11ea-8ce1-2d1439900c58.png)
--
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/2404
On Ubunto 19.04 with Geany 1.34.1, if I select multiple files in Nautilus and select "Open with Geany" from the context menu, each file opens a new instance of Geany instead of all files opening in the existing Geany window. I don't see anything in the Preferences to control this behavior. I would always want all files to open in the current window and would expect this to be the default behavior
--
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/2357
in macOS, geany sometimes became a black window, and i can't quit it;
when i try to reboot my computer, geany always stop it,
so i force shutdown it;
--
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/2243
I have to use `--enable-gtk3` to built Geany with GTK+ 3.24.x. My understanding is, that if installed, it would be used over GTK+ 2 by default.
--
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/2393
Hello @all,
in my Geany ( V 1.35 , Win10, GTK 2.0 ) edit window a vertical green line over the code at column 46 is shown. I don´t know what this line is for and how i can delete it ?
Thanks for an answer !
Regards, Hlech65730
--
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/933
As a Geany user, so that I can invoke a web browser in the process of executing a build step, I would like to be able to reference the browser command setting.
I noticed in the Geany manual that if the user wants to configure a context action that uses a web browser (e.g., use the selected text (via '%s') as a parameter to firefox), they're encouraged to specify a command like this:
`firefox "http://www.php.net/%s"`
https://www.geany.org/manual/current/#context-actions
So, I got to thinking that Geany already has the user's browser of choice via the preferences mechanism. Why, then, would Geany need the user to specify a browser when it already "knows?"
In the callbacks.c we can see the call to `spawn_async` on the command line after the '%s' has been substituted.
https://github.com/geany/geany/blob/master/src/callbacks.c#L1492
Then I thought, what if instead of having the filetype specify the command to run, security concerns aside, could we include a pattern that could be replaced by the browser specified by the user?
Seeing how the browser command is accessed in utils.c it looks like this could be done by replacing the pattern with `tool_prefs.browser_cmd`.
https://github.com/geany/geany/blob/master/src/prefs.c#L681https://github.com/geany/geany/blob/master/src/utils.c#L85
The user could then specify a context action like this:
`%b "https://www.php.net/%s"`
(where `%b` is the pattern)
The additional stanza would look similar to what's in earlier in callbacks.c
https://github.com/geany/geany/blob/master/src/callbacks.c#L1490
Something like
```c
utils_str_replace_all(&command_line, "%b", tool_prefs.browser_cmd);
```
Similarly, it would be nice if we could do something similar with the user's preferred terminal
```c
utils_str_replace_all(&command_line, "%t", tool_prefs.term_cmd);
```
https://github.com/geany/geany/blob/master/src/prefs.c#L678
It would also be nice if we could do the same with build commands
https://github.com/geany/geany/blob/master/src/build.c#L726
As a use-case, it's handy for me to kick off a web browser to view something that results in HTML output. For example, I have a markdown build command that uses 'grep' to convert Markdown to HTML. From my filetypes.markdown:
```
FT_01_LB=_Convert to HTML
FT_01_CM=docker run -i --rm mbentley/grip - --export - < "%d/%f" > "%d/%e.html"
FT_01_WD=
```
Here, it would be nice if I could append ` && %b %d/%e.html &` to that command.
Please let me know if what I'm describing is viable and useful; if so, I can draft something and send along a PR.
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/2395