Merge remote-tracking branch 'origin/master' into extendPythonBindings

This commit is contained in:
Arnout Engelen
2014-12-07 14:43:52 +01:00
3 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -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
View File
@@ -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
View File
@@ -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()