[Github-comments] [geany/geany] Line breaking and rectangular selection (#2051)

elextr notifications at xxxxx
Sun Jan 27 00:14:33 UTC 2019


Update, sometimes Geany crashes when typing in a rectangular selection passes the line breaking position (and breaking is on of course).

Some of the [backtrace](https://gist.github.com/elextr/23ddd07162e19df53682a88c6dcee670) .  Its clearly in a loop and I got bored typing return.

It doesn't crash every time, other times it behaves as described in the OP.

```
09:37:23: Geany INFO		: Using alternate configuration directory
09:37:23: Geany INFO		: Geany 1.35 (git >= 4452b36), en_AU.UTF-8
09:37:23: Geany INFO		: GTK 3.18.9, GLib 2.48.2
```
Empty config that doesn't exist so no plugins and default settings except `Document->Line breaking` of course.

Looks like it loops through `editor.c:check_line_breaking()` inserting a newline causing a changed notification from Scintilla causing a call to `check_line_breaking()` etc.  But I can't see why it only crashes sometimes @b4n?


-- 
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/2051#issuecomment-457877616
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190126/29b20ef9/attachment.html>


More information about the Github-comments mailing list