Geany version: 1.36
OS: Linux Mint 20
Copying `/usr/share/geany/snippets.conf` to `$HOME/.config/geany/snippets.conf` and replacing the block
```
# [Python]
# for=for i in xrange(%cursor%):\n\t%cursor%
# if=if %cursor%:\n\t
# elif=elif %cursor%:\n\t
# else=else:\n\t
# while=while %cursor%:\n\t
# try=try:\n\t%cursor%\nexcept Exception, ex:\n\t
# with=with %cursor%:\n\t
# def=def %cursor% (%cursor%):\n\t""" Function doc """\n\t
# class=class %cursor%:\n\t""" Class doc """\n\t\n\tdef __init__ (self):\n\t\t""" Class initialiser """\n\t\tpass
```
with (added one line at bottom)
```
# [Python]
# for=for i in xrange(%cursor%):\n\t%cursor%
# if=if %cursor%:\n\t
# elif=elif %cursor%:\n\t
# else=else:\n\t
# while=while %cursor%:\n\t
# try=try:\n\t%cursor%\nexcept Exception, ex:\n\t
# with=with %cursor%:\n\t
# def=def %cursor% (%cursor%):\n\t""" Function doc """\n\t
# class=class %cursor%:\n\t""" Class doc """\n\t\n\tdef __init__ (self):\n\t\t""" Class initialiser """\n\t\tpass
# customsnippet=customsnippet
```
does not produce the expected output. I restarted Geany after saving the new config file. Writing `customsnippet` and hitting tab just adds whitespace.
--
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/2646
The ["Man Technologist"](https://emojipedia.org/man-technologist/) π¨βπ» (UTF-8) emoji crashes Geany on backspace.
**To reproduce:**
1. Open Geany
2. Paste π¨βπ» into a new document and save as "bug.txt"
3. Save the file
4. Try to delete the emoji with backspace
5. Should now crash
**To fix:**
- Delete the character with another editor (I used Gedit)
**Verbose messages:**
```
(geany:1034609): dconf-DEBUG: 02:17:05.307: change_fast
(geany:1034609): dconf-DEBUG: 02:17:05.307: change_notify: /org/gtk/settings/file-chooser/window-position
Geany-INFO: 02:17:15.744: /home/name/Documents/bug.txt : None (UTF-8)
Geany-INFO: 02:17:15.746: /home/name/Documents/bug.txt : None (UTF-8)
(geany:1034609): dconf-DEBUG: 02:17:15.752: change_fast
(geany:1034609): dconf-DEBUG: 02:17:15.753: change_notify: /org/gtk/settings/file-chooser/
/usr/include/c++/10/bits/stl_vector.h:1063: std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>; std::vector<_Tp, _Alloc>::const_reference = const unsigned char&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed.
Aborted (core dumped)
```
**Environment:**
- Geany 1.36 (built on 2020-05-24 with GTK 3.24.20, GLib 2.64.3)
- Linux 5.8.14-200.fc32.x86_64 # 1 SMP Wed Oct 7 14:47:56 UTC 2020 x86_64 GNU/Linux
- Fedora 32
--
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/2642
Follow-up of #981 to fix restructuredText formatting and add the install instruction link to other plugins' READMEs as well which are similarly structured.
Closes https://github.com/geany/geany/issues/2508.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/1021
-- Commit Summary --
* Add link to how to install, fix some English
* Docs: Add link to installation instructions to READMEs
-- File Changes --
M autoclose/README (4)
M automark/README (3)
M codenav/README (7)
M defineformat/README (3)
M geanypg/README (5)
M lipsum/README (1)
M pretty-printer/README (1)
M shiftcolumn/README (1)
M spellcheck/README (10)
M updatechecker/README (1)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/1021.patchhttps://github.com/geany/geany-plugins/pull/1021.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-plugins/pull/1021
The label attached at plugins/saveactions.c:688 is described as "_Filetype to use for newly **opened** files:" But how can a file be opened if it didn't exist on disk yet? Would it not be better to describe it as "_Filetype to use for newly **created** files:". See #2633
--
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/2635
I've been using Geany for years and today I recommended it to a friend. He installed it on Ubuntu then asked,
> *Friend:* How do I get spell checking?
> *Me:* oh, that's a separate plugin, just install it.
> *Friend:* ...how?
Turns out I didn't remember how I installed the plugin. My friend sent me a screenshot of the Plugin manager:
![image](https://user-images.githubusercontent.com/33569/82522006-00cb6100-9add-11ea-8256-f29aa1e54896.png)
No option to search for plugins in a repository.
So I googled "Geany spell check" and pointed him to https://plugins.geany.org/spellcheck.html
But that page doesn't even say how to download or install the plugin:
> Usage
> After installed [sic] successfully
[how?]
Turns out other plugins also assumes the user already knows how to install them: [Markdown](https://plugins.geany.org/markdown.html), [Codenav](https://plugins.geany.org/codenav.html) etc.
I know plugins are 3rd party, but there must be something Geany itself can do. For example, Codenav uses the same English mistake "After installed successfully", which suggests these plugin About pages are cloned from somewhere. A first, simple step, would be to add install instructions to that plugin documentation template.
1. Spell checking is such a common plugin. Can it ship by default, like the plugins in the screenshot above?
2. In general, how can we make it easier to install plugins?
--
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/2508
Add tool buttons to navigate through the bookmarks: "Go to Next Marker" and "Go to Previous Marker".
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2641
-- Commit Summary --
* Add tool buttons to navigate through the bookmarks
* Add icons
-- File Changes --
M icons/16x16/Makefile.am (4)
A icons/16x16/geany-go-next-marker.png (0)
A icons/16x16/geany-go-prev-marker.png (0)
M icons/24x24/Makefile.am (10)
A icons/24x24/geany-go-next-marker.png (0)
A icons/24x24/geany-go-prev-marker.png (0)
M icons/32x32/Makefile.am (10)
A icons/32x32/geany-go-next-marker.png (0)
A icons/32x32/geany-go-prev-marker.png (0)
M icons/48x48/Makefile.am (10)
A icons/48x48/geany-go-next-marker.png (0)
A icons/48x48/geany-go-prev-marker.png (0)
M icons/scalable/Makefile.am (10)
A icons/scalable/geany-go-next-marker.svg (111)
A icons/scalable/geany-go-prev-marker.svg (111)
M src/callbacks.c (4)
M src/callbacks.h (4)
M src/toolbar.c (4)
M src/ui_utils.c (4)
M src/ui_utils.h (2)
-- Patch Links --
https://github.com/geany/geany/pull/2641.patchhttps://github.com/geany/geany/pull/2641.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/2641