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 in


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #45610] wrong commenting (ctrl+R) behavior in GUI editor under Windows
Date: Thu, 23 Jul 2015 19:21:35 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15

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

This is probably a one line fix of sorts--something like an index going one
line further than necessary or the highlighted text including an extra
carriage return.

Could you watch closely at what happens to the highlighted region when you do
those steps again?  When the Cntr-R is typed, does the highlight wrap past the
next line?  Do a Cntrl-X or Cntrl-C followed by Cntrl-V and try to discern
exactly what region is highlighted.  Is it lines 3, 4 and 5?  Or maybe 3, 4, 5
and the CR right before line 6?  Rather than select all of line 5, could you
maybe select line 3, 4 and half of line 5?  Try Cntrl-R again and see what
happens to the highlight region.

Ah, just thinking here, if this is a Windows only issue, it could be the CR/LF
problem again.  That is, the operation of placing more text at the front of
the highlighted lines means adjusting the start and stop indeces of the
highlighted text.  Maybe that isn't being computed correctly on Windows
(whereas on linux the number of extra characters matches the number of lines).

    _______________________________________________________

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]