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
b73c741c
Kaydet (Commit)
b73c741c
authored
Tem 02, 2012
tarafından
Ariel Constenla-Haile
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
i120149 - Flash changes on slot execution to reflect AutoUpdate
üst
f5226834
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
6 deletions
+15
-6
edit.hxx
starmath/inc/edit.hxx
+1
-0
edit.cxx
starmath/source/edit.cxx
+14
-6
No files found.
starmath/inc/edit.hxx
Dosyayı görüntüle @
b73c741c
...
...
@@ -93,6 +93,7 @@ class SmEditWindow : public Window, public DropTargetHelper
void
SetScrollBarRanges
();
void
InitScrollBars
();
void
InvalidateSlots
();
void
UpdateStatus
(
bool
bSetDocModified
=
false
);
public
:
SmEditWindow
(
SmCmdBoxWindow
&
rMyCmdBoxWin
);
...
...
starmath/source/edit.cxx
Dosyayı görüntüle @
b73c741c
...
...
@@ -245,9 +245,7 @@ void SmEditWindow::DataChanged( const DataChangedEvent& )
IMPL_LINK
(
SmEditWindow
,
ModifyTimerHdl
,
Timer
*
,
EMPTYARG
/*pTimer*/
)
{
SmModule
*
pp
=
SM_MOD
();
if
(
pp
->
GetConfig
()
->
IsAutoRedraw
())
Flush
();
UpdateStatus
();
aModifyTimer
.
Stop
();
return
0
;
}
...
...
@@ -877,13 +875,23 @@ sal_Bool SmEditWindow::IsSelected() const
return
pEditView
?
pEditView
->
HasSelection
()
:
sal_False
;
}
void
SmEditWindow
::
UpdateStatus
(
bool
bSetDocModified
)
{
SmModule
*
pMod
=
SM_MOD
();
if
(
pMod
&&
pMod
->
GetConfig
()
->
IsAutoRedraw
())
Flush
();
if
(
bSetDocModified
)
GetDoc
()
->
SetModified
(
sal_True
);
}
void
SmEditWindow
::
Cut
()
{
DBG_ASSERT
(
pEditView
,
"EditView missing"
);
if
(
pEditView
)
{
pEditView
->
Cut
();
GetDoc
()
->
SetModified
(
sal_True
);
UpdateStatus
(
sal_True
);
}
}
...
...
@@ -900,7 +908,7 @@ void SmEditWindow::Paste()
if
(
pEditView
)
{
pEditView
->
Paste
();
GetDoc
()
->
SetModified
(
sal_True
);
UpdateStatus
(
sal_True
);
}
}
...
...
@@ -910,7 +918,7 @@ void SmEditWindow::Delete()
if
(
pEditView
)
{
pEditView
->
DeleteSelected
();
GetDoc
()
->
SetModified
(
sal_True
);
UpdateStatus
(
sal_True
);
}
}
...
...
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