Merge remote-tracking branch 'origin/master' into extendPythonBindings
This commit is contained in:
+2
-2
@@ -582,9 +582,9 @@ void QTermWidget::getSelectionStart(int& row, int& column)
|
||||
m_impl->m_terminalDisplay->screenWindow()->screen()->getSelectionStart(column, row);
|
||||
}
|
||||
|
||||
void QTermWidget::setSelectionEnd(int& row, int& column)
|
||||
void QTermWidget::getSelectionEnd(int& row, int& column)
|
||||
{
|
||||
m_impl->m_terminalDisplay->screenWindow()->screen()->setSelectionEnd(column, row);
|
||||
m_impl->m_terminalDisplay->screenWindow()->screen()->getSelectionEnd(column, row);
|
||||
}
|
||||
|
||||
QString QTermWidget::selectedText(bool preserveLineBreaks)
|
||||
|
||||
+1
-1
@@ -137,7 +137,7 @@ public:
|
||||
void setSelectionStart(int row, int column);
|
||||
void setSelectionEnd(int row, int column);
|
||||
void getSelectionStart(int& row, int& column);
|
||||
void setSelectionEnd(int& row, int& column);
|
||||
void getSelectionEnd(int& row, int& column);
|
||||
|
||||
/**
|
||||
* Returns the currently selected text.
|
||||
|
||||
+3
-1
@@ -19,10 +19,12 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import sys
|
||||
import sys, signal
|
||||
from PyQt4 import Qt
|
||||
import QTermWidget
|
||||
|
||||
signal.signal(signal.SIGINT, signal.SIG_DFL)
|
||||
|
||||
a = Qt.QApplication(sys.argv)
|
||||
w = QTermWidget.QTermWidget()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user