make it, please
--
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/1355
This PR should remove warnings like
`(geany:7479): Geany-CRITICAL **: sci_get_contents_range: assertion 'start < end' failed`
Backtrace befre:
```
Thread 1 "geany" hit Breakpoint 1, handler_log (domain=0x7ffff7b64da2 "Geany", level=G_LOG_LEVEL_CRITICAL,
msg=0x55555651f800 "sci_get_contents_range: assertion 'start < end' failed", data=0x0) at log.c:121
121 {
(gdb) bt
#0 handler_log (domain=0x7ffff7b64da2 "Geany", level=G_LOG_LEVEL_CRITICAL,
msg=0x55555651f800 "sci_get_contents_range: assertion 'start < end' failed", data=0x0) at log.c:121
#1 0x00007ffff52bd5c4 in g_logv () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff52bd7cf in g_log () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff79bf94b in sci_get_contents_range (sci=sci@entry=0x555556373520, start=start@entry=11519, end=<optimized out>)
at sciwrappers.c:990
#4 0x00007fffe5db8da8 in get_current_word (sci=0x555556373520) at automark.c:92
#5 automark (user_data=<optimized out>) at automark.c:117
#6 0x00007ffff52b66aa in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7 0x00007ffff52b6a60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8 0x00007ffff52b6d82 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9 0x00007ffff7251cc5 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#10 0x00007ffff79ad097 in main_lib (argc=<optimized out>, argv=<optimized out>) at libmain.c:1233
#11 0x00007ffff4cd12b1 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#12 0x000055555555478a in _start ()
(gdb) r
```
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/514
-- Commit Summary --
* Automark: Don't try to get some selection if line is empty
-- File Changes --
M automark/src/automark.c (3)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/514.patchhttps://github.com/geany/geany-plugins/pull/514.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/514
Longer lorem ipsum texts generated by the lipsum plugin are missing a space where the repeated lorem ipsum snippets get joined: "[...] id est laborum.Lorem ipsum dolor [...]".
This probably broke in 36e85e41 where the text snippet's trailing space got removed.
--
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/513
Here are some changes to lineoperations; adding selection support.
If a selection is made in the file, the line operation will be applied to the lines within the selection, rather than the whole file.
Like usual, I'm open to hear any suggestions/improvements.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/378
-- Commit Summary --
* lineoperations: combined similar code
* lineoperations: added selection support
* lineoperations: removed unnecessary parameters
* lineoperations: added selection to documentation
* lineoperations: added some ui changes
* lineoperations: minor formatting
-- File Changes --
M lineoperations/ChangeLog (6)
M lineoperations/README (14)
M lineoperations/src/linefunctions.c (340)
M lineoperations/src/linefunctions.h (28)
M lineoperations/src/lineoperations.c (237)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/378.patchhttps://github.com/geany/geany-plugins/pull/378.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/378
A lot of words are separated using underscore in source codes and other text. Please add that to the list of characters recognized as is_word_sep
static gboolean is_word_sep(gunichar c)
{
return g_unichar_isspace(c) || g_unichar_ispunct(c);
}
--
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/496
We remove the underscore character temporarily from the wordchars
to make Scintilla split words on underscore.
After splitting the current line into words, we add the underscore again
to the document's wordchars setting if it was in before.
Fixes #496.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/512
-- Commit Summary --
* SpellCheck: Treat underscore as word seperator
* SpellCheck: Reset wordchars only if we modified it before
-- File Changes --
M spellcheck/src/speller.c (29)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/512.patchhttps://github.com/geany/geany-plugins/pull/512.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/512
When I get the user input and try to print it concatenated with other strings, the statement is printed out with the added string at the end showing up at the very beginning and cutting off words at the beginning. When I wrote the same exact code in IDLE, the print statement is perfectly fine.
![image](https://cloud.githubusercontent.com/assets/21274031/21480617/c65648c4-cb2c-11e6-9095-424ef9f6a822.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/1349