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
a2f9c446
Kaydet (Commit)
a2f9c446
authored
Eki 28, 2013
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some clean-up
Change-Id: I8ef80b7ae952428a62cc1cea8b03219b77a83e99
üst
176ac1e6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
syntaxhighlight.cxx
comphelper/source/misc/syntaxhighlight.cxx
+8
-2
syntaxhighlight.hxx
include/comphelper/syntaxhighlight.hxx
+2
-1
No files found.
comphelper/source/misc/syntaxhighlight.cxx
Dosyayı görüntüle @
a2f9c446
...
...
@@ -257,7 +257,6 @@ namespace
class
SyntaxHighlighter
::
Tokenizer
{
HighlighterLanguage
aLanguage
;
// Character information tables
sal_uInt16
aCharTypeTab
[
256
];
...
...
@@ -272,7 +271,9 @@ class SyntaxHighlighter::Tokenizer
sal_uInt16
nKeyWordCount
;
public
:
Tokenizer
(
HighlighterLanguage
aLang
=
HIGHLIGHT_BASIC
);
HighlighterLanguage
const
aLanguage
;
Tokenizer
(
HighlighterLanguage
aLang
);
~
Tokenizer
(
void
);
void
getHighlightPortions
(
const
OUString
&
rLine
,
...
...
@@ -710,4 +711,9 @@ void SyntaxHighlighter::getHighlightPortions( const OUString& rLine,
m_tokenizer
->
getHighlightPortions
(
rLine
,
portions
);
}
HighlighterLanguage
SyntaxHighlighter
::
GetLanguage
()
{
return
m_tokenizer
->
aLanguage
;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
include/comphelper/syntaxhighlight.hxx
Dosyayı görüntüle @
a2f9c446
...
...
@@ -80,8 +80,9 @@ public:
void
getHighlightPortions
(
const
OUString
&
rLine
,
std
::
vector
<
HighlightPortion
>&
pPortions
);
HighlighterLanguage
GetLanguage
()
{
return
eLanguage
;}
HighlighterLanguage
GetLanguage
()
;
};
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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