Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
83521984
Kaydet (Commit)
83521984
authored
Nis 04, 2002
tarafından
gt
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#98354# enable Ctrl-functionality for CursorPosChanging()
üst
cf5ce3d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
6 deletions
+18
-6
seleng.cxx
vcl/source/window/seleng.cxx
+18
-6
No files found.
vcl/source/window/seleng.cxx
Dosyayı görüntüle @
83521984
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: seleng.cxx,v $
*
* $Revision: 1.
1.1.1
$
* $Revision: 1.
2
$
*
* last change: $Author:
hr $ $Date: 2000-09-18 17:05:40
$
* last change: $Author:
gt $ $Date: 2002-04-04 09:22:32
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -66,6 +66,14 @@
#pragma hdrstop
inline
BOOL
SelectionEngine
::
ShouldDeselect
(
BOOL
bModifierKey1
)
const
{
// return !( eSelMode == MULTIPLE_SELECTION && bModifierKey1 );
return
eSelMode
!=
MULTIPLE_SELECTION
||
!
bModifierKey1
;
}
// TODO: FunctionSet::SelectAtPoint raus
/*************************************************************************
...
...
@@ -158,11 +166,11 @@ void SelectionEngine::ActivateDragMode()
|*
|* Beschreibung SELENG.SDW
|* Ersterstellung OV 10.10.94
|* Letzte Aenderung
OV 10.10.9
4
|* Letzte Aenderung
GT 2002-04-0
4
|*
*************************************************************************/
void
SelectionEngine
::
CursorPosChanging
(
BOOL
bShift
,
BOOL
/* bMod1 */
)
void
SelectionEngine
::
CursorPosChanging
(
BOOL
bShift
,
BOOL
bMod1
)
{
if
(
!
pFunctionSet
)
return
;
...
...
@@ -181,7 +189,8 @@ void SelectionEngine::CursorPosChanging( BOOL bShift, BOOL /* bMod1 */ )
{
if
(
!
(
nFlags
&
SELENG_HAS_ANCH
)
)
{
pFunctionSet
->
DeselectAll
();
if
(
ShouldDeselect
(
bMod1
)
)
pFunctionSet
->
DeselectAll
();
pFunctionSet
->
CreateAnchor
();
nFlags
|=
SELENG_HAS_ANCH
;
}
...
...
@@ -200,7 +209,10 @@ void SelectionEngine::CursorPosChanging( BOOL bShift, BOOL /* bMod1 */ )
}
else
{
pFunctionSet
->
DeselectAll
();
if
(
ShouldDeselect
(
bMod1
)
)
pFunctionSet
->
DeselectAll
();
else
pFunctionSet
->
DestroyAnchor
();
nFlags
&=
(
~
SELENG_HAS_ANCH
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment