octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #45610] wrong commenting (ctrl+R) behavior wit


From: Hartmut
Subject: [Octave-bug-tracker] [bug #45610] wrong commenting (ctrl+R) behavior with CRLF eols in GUI editor
Date: Sun, 25 Sep 2016 18:06:53 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0

Follow-up Comment #20, bug #45610 (project octave):

I can confirm, that this behavior is now also present in the (4.0.3) linux
built, if the edited file uses CR-LF line endings (what I really mostly do to
have files that I can also use on the less flexible Windows side).

Sorry for not beeing "precise" here. At the time when I tested Dan's patch
(comment #14) there wasn't the possibility in the options of the GUI editor to
switch line endings, yet. So at that time Dan's patch fully solved the issue.
But this isn't the case any more.

So I would also opt for a broader solution, now. Some patch that solves this
issue for Linux and for Windows builts would be nice. (The switch should now
probably be between "different line feed settings", compared to Dan's patch
with a switch at compile time between "different OS".)

I can't judge if it's worth to wait for a fix in upstream Qscintilla. Knowing
if there's a formal Qscintilla bug report anywhere would really help with this
decision, and make me vote for waiting a bit longer. (But I tend to prefer a
workaround solution here, since it seems to take very long for Qscintilla to
react here.)

Note: Having a user option for the comment character (% or #) in the GUI
editor would be nice, too. But that should probably go to a different "feature
request" bug report.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45610>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]