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
9e991e18
Kaydet (Commit)
9e991e18
authored
Mar 02, 2013
tarafından
Gábor Nyers
Kaydeden (comit)
Michael Meeks
Mar 02, 2013
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#39468 Translated German comments to English
Change-Id: If4f8e308cfae6a4ba64576c1b2844210e64085a0
üst
b15f0952
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
27 deletions
+23
-27
syntaxhighlight.hxx
comphelper/inc/comphelper/syntaxhighlight.hxx
+17
-20
syntaxhighlight.cxx
comphelper/source/misc/syntaxhighlight.cxx
+3
-4
TableWindow.hxx
dbaccess/source/ui/inc/TableWindow.hxx
+2
-2
QueryDesignFieldUndoAct.hxx
dbaccess/source/ui/querydesign/QueryDesignFieldUndoAct.hxx
+1
-1
No files found.
comphelper/inc/comphelper/syntaxhighlight.hxx
Dosyayı görüntüle @
9e991e18
...
@@ -63,10 +63,10 @@ struct HighlightPortion { sal_uInt16 nBegin; sal_uInt16 nEnd; TokenTypes tokenTy
...
@@ -63,10 +63,10 @@ struct HighlightPortion { sal_uInt16 nBegin; sal_uInt16 nEnd; TokenTypes tokenTy
typedef
std
::
vector
<
HighlightPortion
>
HighlightPortions
;
typedef
std
::
vector
<
HighlightPortion
>
HighlightPortions
;
/////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////
//
Hilfsklasse zur Untersuchung von JavaScript-Modulen, zunaechst zum
//
Auxiliary class to support JavaScript modules, next to find functions which
//
Heraussuchen der Funktionen, spaeter auch zum Syntax-Highlighting verwenden
//
will later will be used for syntax highlighting
//
Flags fuer Zeichen-Eigenschaften
//
Flags for character properties
#define CHAR_START_IDENTIFIER 0x0001
#define CHAR_START_IDENTIFIER 0x0001
#define CHAR_IN_IDENTIFIER 0x0002
#define CHAR_IN_IDENTIFIER 0x0002
#define CHAR_START_NUMBER 0x0004
#define CHAR_START_NUMBER 0x0004
...
@@ -81,8 +81,8 @@ typedef std::vector<HighlightPortion> HighlightPortions;
...
@@ -81,8 +81,8 @@ typedef std::vector<HighlightPortion> HighlightPortions;
#define CHAR_EOF 0x00
#define CHAR_EOF 0x00
//
Sprachmodus des HighLighters (spaeter eventuell feiner
//
Language mode of the Highlighter (possibly to be refined later with keyword
//
differenzieren mit Keyword-Liste, C-Kommentar-Flag
)
//
lists, C comment flags
)
enum
HighlighterLanguage
enum
HighlighterLanguage
{
{
HIGHLIGHT_BASIC
,
HIGHLIGHT_BASIC
,
...
@@ -92,23 +92,23 @@ enum HighlighterLanguage
...
@@ -92,23 +92,23 @@ enum HighlighterLanguage
class
SimpleTokenizer_Impl
class
SimpleTokenizer_Impl
{
{
HighlighterLanguage
aLanguage
;
HighlighterLanguage
aLanguage
;
//
Zeichen-Info-Tabelle
//
Character information tables
sal_uInt16
aCharTypeTab
[
256
];
sal_uInt16
aCharTypeTab
[
256
];
const
sal_Unicode
*
mpStringBegin
;
const
sal_Unicode
*
mpStringBegin
;
const
sal_Unicode
*
mpActualPos
;
const
sal_Unicode
*
mpActualPos
;
//
Zeile und Spalte
//
Lines and columns
sal_uInt32
nLine
;
sal_uInt32
nLine
;
sal_uInt32
nCol
;
sal_uInt32
nCol
;
sal_Unicode
peekChar
(
void
)
{
return
*
mpActualPos
;
}
sal_Unicode
peekChar
(
void
)
{
return
*
mpActualPos
;
}
sal_Unicode
getChar
(
void
)
{
nCol
++
;
return
*
mpActualPos
++
;
}
sal_Unicode
getChar
(
void
)
{
nCol
++
;
return
*
mpActualPos
++
;
}
//
Hilfsfunktion: Zeichen-Flag Testen
//
Auxiliary function: testing of the character flags
sal_Bool
testCharFlags
(
sal_Unicode
c
,
sal_uInt16
nTestFlags
);
sal_Bool
testCharFlags
(
sal_Unicode
c
,
sal_uInt16
nTestFlags
);
//
Neues Token holen, Leerstring == nix mehr da
//
Get new token, EmptyString == nothing more over there
sal_Bool
getNextToken
(
/*out*/
TokenTypes
&
reType
,
sal_Bool
getNextToken
(
/*out*/
TokenTypes
&
reType
,
/*out*/
const
sal_Unicode
*&
rpStartPos
,
/*out*/
const
sal_Unicode
*&
rpEndPos
);
/*out*/
const
sal_Unicode
*&
rpStartPos
,
/*out*/
const
sal_Unicode
*&
rpEndPos
);
...
@@ -126,13 +126,11 @@ public:
...
@@ -126,13 +126,11 @@ public:
};
};
//*** SyntaxHighlighter-Klasse ***
//*** SyntaxHighlighter Class ***
// Konzept: Der Highlighter wird ueber alle Aenderungen im Source
// Concept: the Highlighter will be notified of all changes in the source
// informiert (notifyChange) und liefert dem Aufrufer jeweils die
// (notifyChange) and returns the caller the range of lines, which based on the
// Information zurueck, welcher Zeilen-Bereich des Source-Codes
// changes, need to be highlighted again. For this the Highlighter marks all
// aufgrund dieser Aenderung neu gehighlighted werden muss.
// lines internally whether or not C comments begin or end.
// Dazu merkt sich Highlighter intern fuer jede Zeile, ob dort
// C-Kommentare beginnen oder enden.
class
COMPHELPER_DLLPUBLIC
SyntaxHighlighter
class
COMPHELPER_DLLPUBLIC
SyntaxHighlighter
{
{
HighlighterLanguage
eLanguage
;
HighlighterLanguage
eLanguage
;
...
@@ -146,10 +144,9 @@ public:
...
@@ -146,10 +144,9 @@ public:
SyntaxHighlighter
(
void
);
SyntaxHighlighter
(
void
);
~
SyntaxHighlighter
(
void
);
~
SyntaxHighlighter
(
void
);
// HighLighter (neu) initialisieren, die Zeilen-Tabelle wird
// (Re-)initialize Highlighter. The line-table will be completely erased,
// dabei komplett geloescht, d.h. im Abschluss wird von einem
// meaning that on completion an empty Source is assumed.
// leeren Source ausgegangen. In notifyChange() kann dann
// notifyChange() can only be given line 0
// nur Zeile 0 angegeben werden.
void
initialize
(
HighlighterLanguage
eLanguage_
);
void
initialize
(
HighlighterLanguage
eLanguage_
);
void
notifyChange
(
sal_uInt32
nLine
,
sal_Int32
nLineCountDifference
,
void
notifyChange
(
sal_uInt32
nLine
,
sal_Int32
nLineCountDifference
,
...
...
comphelper/source/misc/syntaxhighlight.cxx
Dosyayı görüntüle @
9e991e18
...
@@ -411,9 +411,8 @@ sal_Bool SimpleTokenizer_Impl::getNextToken( /*out*/TokenTypes& reType,
...
@@ -411,9 +411,8 @@ sal_Bool SimpleTokenizer_Impl::getNextToken( /*out*/TokenTypes& reType,
reType
=
TT_COMMENT
;
reType
=
TT_COMMENT
;
}
}
// Echter Operator, kann hier einfach behandelt werden,
// The real operator; can be easily used since not the actual
// da nicht der wirkliche Operator, wie z.B. += interessiert,
// operator (e.g. +=) is concerned, but the fact that it is one
// sondern nur die Tatsache, dass es sich um einen handelt.
if
(
reType
!=
TT_COMMENT
)
if
(
reType
!=
TT_COMMENT
)
{
{
reType
=
TT_OPERATOR
;
reType
=
TT_OPERATOR
;
...
@@ -422,7 +421,7 @@ sal_Bool SimpleTokenizer_Impl::getNextToken( /*out*/TokenTypes& reType,
...
@@ -422,7 +421,7 @@ sal_Bool SimpleTokenizer_Impl::getNextToken( /*out*/TokenTypes& reType,
}
}
}
}
// Obje
kt-Trenner? Muss vor Number abgehandelt werden
// Obje
ct separator? Must be handled before Number
else
if
(
c
==
'.'
&&
(
peekChar
()
<
'0'
||
peekChar
()
>
'9'
)
)
else
if
(
c
==
'.'
&&
(
peekChar
()
<
'0'
||
peekChar
()
>
'9'
)
)
{
{
reType
=
TT_OPERATOR
;
reType
=
TT_OPERATOR
;
...
...
dbaccess/source/ui/inc/TableWindow.hxx
Dosyayı görüntüle @
9e991e18
...
@@ -67,8 +67,8 @@ namespace dbaui
...
@@ -67,8 +67,8 @@ namespace dbaui
m_pContainerListener
;
m_pContainerListener
;
sal_Int32
m_nMoveCount
;
// how often the arrow keys was pressed
sal_Int32
m_nMoveCount
;
// how often the arrow keys was pressed
sal_Int32
m_nMoveIncrement
;
// how many pixel we should move
sal_Int32
m_nMoveIncrement
;
// how many pixel we should move
sal_uInt16
m_nSizingFlags
;
sal_uInt16
m_nSizingFlags
;
sal_Bool
m_bActive
;
sal_Bool
m_bActive
;
void
Draw3DBorder
(
const
Rectangle
&
rRect
);
void
Draw3DBorder
(
const
Rectangle
&
rRect
);
// OContainerListener
// OContainerListener
...
...
dbaccess/source/ui/querydesign/QueryDesignFieldUndoAct.hxx
Dosyayı görüntüle @
9e991e18
...
@@ -131,7 +131,7 @@ namespace dbaui
...
@@ -131,7 +131,7 @@ namespace dbaui
};
};
// ================================================================================================
// ================================================================================================
// OTabFieldMovedUndoAct - Undo
-
class when a field was moved inside the selection
// OTabFieldMovedUndoAct - Undo
class when a field was moved inside the selection
class
OTabFieldMovedUndoAct
:
public
OTabFieldUndoAct
class
OTabFieldMovedUndoAct
:
public
OTabFieldUndoAct
{
{
...
...
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