Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
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ç
Batuhan Osman TASKAYA
cpython
Commits
ed2ed948
Kaydet (Commit)
ed2ed948
authored
Tem 01, 2000
tarafından
Just van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fixed bug in comment matching
üst
b58e6b10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
PyFontify.py
Mac/Tools/IDE/PyFontify.py
+3
-3
No files found.
Mac/Tools/IDE/PyFontify.py
Dosyayı görüntüle @
ed2ed948
...
@@ -19,13 +19,13 @@ sublist is not used, hence always None.
...
@@ -19,13 +19,13 @@ sublist is not used, hence always None.
# Many thanks for regular expression debugging & authoring are due to:
# Many thanks for regular expression debugging & authoring are due to:
# Tim (the-incredib-ly y'rs) Peters and Cristian Tismer
# Tim (the-incredib-ly y'rs) Peters and Cristian Tismer
# So, who owns the copyright? ;-) How about this:
# So, who owns the copyright? ;-) How about this:
# Copyright 1996-
1997
:
# Copyright 1996-
2000
:
# Mitchell S. Chapman,
# Mitchell S. Chapman,
# Zachary Roadhouse,
# Zachary Roadhouse,
# Tim Peters,
# Tim Peters,
# Just van Rossum
# Just van Rossum
__version__
=
"0.3.
2
"
__version__
=
"0.3.
3
"
import
string
,
regex
import
string
,
regex
...
@@ -86,7 +86,7 @@ for keyword in keywordsList:
...
@@ -86,7 +86,7 @@ for keyword in keywordsList:
keyPat
=
keyPat
+
keyword
+
"
\
|"
keyPat
=
keyPat
+
keyword
+
"
\
|"
keyPat
=
keyPat
[:
-
2
]
+
"
\
)"
+
nonKeyPat
keyPat
=
keyPat
[:
-
2
]
+
"
\
)"
+
nonKeyPat
matchPat
=
keyPat
+
"
\
|"
+
comment
Pat
+
"
\
|"
+
tripleQuotePat
+
"
\
|"
+
quotePat
matchPat
=
commentPat
+
"
\
|"
+
key
Pat
+
"
\
|"
+
tripleQuotePat
+
"
\
|"
+
quotePat
matchRE
=
regex
.
compile
(
matchPat
)
matchRE
=
regex
.
compile
(
matchPat
)
idKeyPat
=
"[
\t
]*[A-Za-z_][A-Za-z_0-9.]*"
# Ident w. leading whitespace.
idKeyPat
=
"[
\t
]*[A-Za-z_][A-Za-z_0-9.]*"
# Ident w. leading whitespace.
...
...
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