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
060758a2
Kaydet (Commit)
060758a2
authored
Eki 07, 2012
tarafından
Ariel Constenla-Haile
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#i108689# - Invalidate Basic IDE slots in order to trigger feature update
üst
62589b11
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
1 deletion
+23
-1
baside2b.cxx
basctl/source/basicide/baside2b.cxx
+9
-0
baside3.cxx
basctl/source/basicide/baside3.cxx
+11
-1
basidesh.cxx
basctl/source/basicide/basidesh.cxx
+3
-0
No files found.
basctl/source/basicide/baside2b.cxx
Dosyayı görüntüle @
060758a2
...
...
@@ -356,7 +356,11 @@ void __EXPORT EditorWindow::MouseButtonUp( const MouseEvent &rEvt )
pEditView
->
MouseButtonUp
(
rEvt
);
SfxBindings
*
pBindings
=
BasicIDE
::
GetBindingsPtr
();
if
(
pBindings
)
{
pBindings
->
Invalidate
(
SID_COPY
);
pBindings
->
Invalidate
(
SID_CUT
);
pBindings
->
Invalidate
(
SID_BASICIDE_STAT_POS
);
}
}
}
...
...
@@ -454,15 +458,20 @@ void __EXPORT EditorWindow::KeyInput( const KeyEvent& rKEvt )
SfxBindings
*
pBindings
=
BasicIDE
::
GetBindingsPtr
();
if
(
pBindings
)
{
pBindings
->
Invalidate
(
SID_CUT
);
pBindings
->
Invalidate
(
SID_COPY
);
pBindings
->
Invalidate
(
SID_BASICIDE_STAT_POS
);
if
(
rKEvt
.
GetKeyCode
().
GetGroup
()
==
KEYGROUP_CURSOR
)
pBindings
->
Update
(
SID_BASICIDE_STAT_POS
);
if
(
!
bWasModified
&&
pEditEngine
->
IsModified
()
)
{
pBindings
->
Invalidate
(
SID_SAVEDOC
);
pBindings
->
Invalidate
(
SID_DOC_MODIFIED
);
pBindings
->
Invalidate
(
SID_UNDO
);
}
if
(
rKEvt
.
GetKeyCode
().
GetCode
()
==
KEY_INSERT
)
pBindings
->
Invalidate
(
SID_ATTR_INSERT
);
}
...
...
basctl/source/basicide/baside3.cxx
Dosyayı görüntüle @
060758a2
...
...
@@ -188,6 +188,8 @@ void DialogWindow::MouseButtonUp( const MouseEvent& rMEvt )
pBindings
->
Invalidate
(
SID_SHOW_PROPERTYBROWSER
);
pBindings
->
Invalidate
(
SID_DOC_MODIFIED
);
pBindings
->
Invalidate
(
SID_SAVEDOC
);
pBindings
->
Invalidate
(
SID_COPY
);
pBindings
->
Invalidate
(
SID_CUT
);
}
}
...
...
@@ -202,6 +204,8 @@ void DialogWindow::MouseMove( const MouseEvent& rMEvt )
void
DialogWindow
::
KeyInput
(
const
KeyEvent
&
rKEvt
)
{
SfxBindings
*
pBindings
=
BasicIDE
::
GetBindingsPtr
();
if
(
rKEvt
.
GetKeyCode
()
==
KEY_BACKSPACE
)
{
BasicIDEShell
*
pIDEShell
=
IDE_DLL
()
->
GetShell
();
...
...
@@ -214,7 +218,6 @@ void DialogWindow::KeyInput( const KeyEvent& rKEvt )
}
else
{
SfxBindings
*
pBindings
=
BasicIDE
::
GetBindingsPtr
();
if
(
pBindings
&&
rKEvt
.
GetKeyCode
()
==
KEY_TAB
)
pBindings
->
Invalidate
(
SID_SHOW_PROPERTYBROWSER
);
...
...
@@ -224,6 +227,13 @@ void DialogWindow::KeyInput( const KeyEvent& rKEvt )
Window
::
KeyInput
(
rKEvt
);
}
}
// may be KEY_TAB, KEY_BACKSPACE, KEY_ESCAPE
if
(
pBindings
)
{
pBindings
->
Invalidate
(
SID_COPY
);
pBindings
->
Invalidate
(
SID_CUT
);
}
}
void
DialogWindow
::
Command
(
const
CommandEvent
&
rCEvt
)
...
...
basctl/source/basicide/basidesh.cxx
Dosyayı görüntüle @
060758a2
...
...
@@ -947,6 +947,9 @@ void BasicIDEShell::InvalidateBasicIDESlots()
SfxBindings
*
pBindings
=
BasicIDE
::
GetBindingsPtr
();
if
(
pBindings
)
{
pBindings
->
Invalidate
(
SID_COPY
);
pBindings
->
Invalidate
(
SID_CUT
);
pBindings
->
Invalidate
(
SID_PASTE
);
pBindings
->
Invalidate
(
SID_UNDO
);
pBindings
->
Invalidate
(
SID_REDO
);
pBindings
->
Invalidate
(
SID_SAVEDOC
);
...
...
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