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

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

[Octave-bug-tracker] [bug #59916] Embedded tabs are executed when code i


From: Torsten Lilge
Subject: [Octave-bug-tracker] [bug #59916] Embedded tabs are executed when code is pasted in to command window
Date: Wed, 20 Jan 2021 15:28:01 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36

Follow-up Comment #10, bug #59916 (project octave):

There are two locations:

*For windows:*
libgui/qterminal/libqterminal/win32/QWinTerminalImpl.cpp:1810
void QWinTerminalImpl::pasteClipboard (void)

*For Linux/Max:*
libgui/qterminal/libqterminal/unix/TerminalView.cpp:2198
void TerminalView::emitSelection(bool useXselection,bool appendReturn)

I can just add 


text.replace("\t", "    ");


there for completely avoiding the issue, also for tabs in strings. Or do you
think that tabs in strings should not be replaced?




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59916>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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