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
4bc27242
Kaydet (Commit)
4bc27242
authored
May 18, 2011
tarafından
Noel Power
Kaydeden (comit)
Jan Holesovsky
May 18, 2011
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix 'Ctrl+A' in the Basic IDE - fdo#37211.
Signed-off-by:
Jan Holesovsky
<
kendy@suse.cz
>
üst
010a4baa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
+15
-3
baside.sdi
basctl/sdi/baside.sdi
+5
-0
baside2.cxx
basctl/source/basicide/baside2.cxx
+9
-0
baside2b.cxx
basctl/source/basicide/baside2b.cxx
+1
-3
No files found.
basctl/sdi/baside.sdi
Dosyayı görüntüle @
4bc27242
...
@@ -57,6 +57,11 @@ shell BasicIDEShell
...
@@ -57,6 +57,11 @@ shell BasicIDEShell
StateMethod = GetState;
StateMethod = GetState;
]
]
SID_SELECTALL
[
ExecMethod = ExecuteCurrent;
]
SID_CUT
SID_CUT
[
[
ExecMethod = ExecuteCurrent;
ExecMethod = ExecuteCurrent;
...
...
basctl/source/basicide/baside2.cxx
Dosyayı görüntüle @
4bc27242
...
@@ -999,6 +999,15 @@ void ModulWindow::ExecuteCommand( SfxRequest& rReq )
...
@@ -999,6 +999,15 @@ void ModulWindow::ExecuteCommand( SfxRequest& rReq )
sal_uInt16
nSlot
=
rReq
.
GetSlot
();
sal_uInt16
nSlot
=
rReq
.
GetSlot
();
switch
(
nSlot
)
switch
(
nSlot
)
{
{
case
SID_DELETE
:
{
KeyEvent
aFakeDelete
(
0
,
KEY_DELETE
);
GetEditView
()
->
KeyInput
(
aFakeDelete
);
break
;
}
case
SID_SELECTALL
:
GetEditView
()
->
SetSelection
(
TextSelection
(
TextPaM
(
0
,
0
),
TextPaM
(
0xFFFFFFFF
,
0xFFFF
)
)
);
break
;
case
SID_BASICRUN
:
case
SID_BASICRUN
:
{
{
BasicRun
();
BasicRun
();
...
...
basctl/source/basicide/baside2b.cxx
Dosyayı görüntüle @
4bc27242
...
@@ -417,9 +417,7 @@ void EditorWindow::KeyInput( const KeyEvent& rKEvt )
...
@@ -417,9 +417,7 @@ void EditorWindow::KeyInput( const KeyEvent& rKEvt )
if
(
!
bDone
&&
(
!
TextEngine
::
DoesKeyChangeText
(
rKEvt
)
||
ImpCanModify
()
)
)
if
(
!
bDone
&&
(
!
TextEngine
::
DoesKeyChangeText
(
rKEvt
)
||
ImpCanModify
()
)
)
{
{
if
(
(
rKEvt
.
GetKeyCode
().
GetCode
()
==
KEY_A
)
&&
rKEvt
.
GetKeyCode
().
IsMod1
()
&&
!
rKEvt
.
GetKeyCode
().
IsMod2
()
)
if
(
(
rKEvt
.
GetKeyCode
().
GetCode
()
==
KEY_Y
)
&&
rKEvt
.
GetKeyCode
().
IsMod1
()
)
pEditView
->
SetSelection
(
TextSelection
(
TextPaM
(
0
,
0
),
TextPaM
(
0xFFFFFFFF
,
0xFFFF
)
)
);
else
if
(
(
rKEvt
.
GetKeyCode
().
GetCode
()
==
KEY_Y
)
&&
rKEvt
.
GetKeyCode
().
IsMod1
()
)
bDone
=
sal_True
;
// CTRL-Y schlucken, damit kein Vorlagenkatalog
bDone
=
sal_True
;
// CTRL-Y schlucken, damit kein Vorlagenkatalog
else
else
{
{
...
...
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