[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: [PATCH]: konsole patch for right double-click selection
From: fenix <fenix () club-internet ! fr>
Date: 2002-04-20 18:10:00
[Download RAW message or body]
Hi,
little patch which corrects the konsole behavior of double-click
selection on /usr/bin/g++. The selection used to stop at '+' character.
FeniX
["konsole.diff" (konsole.diff)]
? konsole.diff
Index: TEWidget.cpp
===================================================================
RCS file: /home/kde/kdebase/konsole/konsole/TEWidget.cpp,v
retrieving revision 1.143
diff -u -r1.143 TEWidget.cpp
--- TEWidget.cpp 10 Apr 2002 08:38:48 -0000 1.143
+++ TEWidget.cpp 20 Apr 2002 18:02:44 -0000
@@ -292,7 +292,7 @@
,line_selection_mode(false)
,preserve_line_breaks(true)
,scrollLoc(SCRNONE)
-,word_characters(":@-./_~")
+,word_characters(":@-+./_~")
,bellMode(BELLSYSTEM)
,blinking(false)
,cursorBlinking(false)
Index: konsole.cpp
===================================================================
RCS file: /home/kde/kdebase/konsole/konsole/konsole.cpp,v
retrieving revision 1.283
diff -u -r1.283 konsole.cpp
--- konsole.cpp 13 Apr 2002 13:03:37 -0000 1.283
+++ konsole.cpp 20 Apr 2002 18:02:51 -0000
@@ -948,7 +948,7 @@
b_warnQuit=config->readBoolEntry( "WarnQuit", TRUE );
b_allowResize=config->readBoolEntry( "AllowResize", TRUE);
- s_word_seps= config->readEntry("wordseps",":@-./_~");
+ s_word_seps= config->readEntry("wordseps",":@-+./_~");
te->setWordCharacters(s_word_seps);
b_framevis = config->readBoolEntry("has frame",TRUE);
Index: konsole_part.cpp
===================================================================
RCS file: /home/kde/kdebase/konsole/konsole/konsole_part.cpp,v
retrieving revision 1.50
diff -u -r1.50 konsole_part.cpp
--- konsole_part.cpp 26 Mar 2002 06:54:09 -0000 1.50
+++ konsole_part.cpp 20 Apr 2002 18:02:51 -0000
@@ -468,7 +468,7 @@
n_keytab=config->readNumEntry("keytab",0); // act. the keytab for this session
n_scroll = QMIN(config->readUnsignedNumEntry("scrollbar",TEWidget::SCRRIGHT),2);
m_histSize = config->readNumEntry("history",DEFAULT_HISTORY_SIZE);
- s_word_seps= config->readEntry("wordseps",":@-./_~");
+ s_word_seps= config->readEntry("wordseps",":@-+./_~");
QFont tmpFont("fixed");
defaultFont = config->readFontEntry("defaultfont", &tmpFont);
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic