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
6e4620bf
Kaydet (Commit)
6e4620bf
authored
Mar 16, 2004
tarafından
Kurt B. Kaiser
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
1. Make builtin foreground Royal Purple instead of Barney Purple.
2. Touch up help.txt M config-highlight.def M help.txt
üst
9d5c4430
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
27 deletions
+32
-27
config-highlight.def
Lib/idlelib/config-highlight.def
+4
-4
help.txt
Lib/idlelib/help.txt
+28
-23
No files found.
Lib/idlelib/config-highlight.def
Dosyayı görüntüle @
6e4620bf
...
...
@@ -6,7 +6,7 @@ normal-foreground= #000000
normal-background= #ffffff
keyword-foreground= #ff7700
keyword-background= #ffffff
builtin-foreground= #
ca00ca
builtin-foreground= #
900090
builtin-background= #ffffff
comment-foreground= #dd0000
comment-background= #ffffff
...
...
@@ -22,7 +22,7 @@ hit-foreground= #ffffff
hit-background= #000000
error-foreground= #000000
error-background= #ff7777
#cursor (only foreground can be set)
#cursor (only foreground can be set
, restart IDLE
)
cursor-foreground= black
#shell window
stdout-foreground= blue
...
...
@@ -37,7 +37,7 @@ normal-foreground= #000000
normal-background= #ffffff
keyword-foreground= #ff7700
keyword-background= #ffffff
builtin-foreground= #
ca00ca
builtin-foreground= #
900090
builtin-background= #ffffff
comment-foreground= #dd0000
comment-background= #ffffff
...
...
@@ -53,7 +53,7 @@ hit-foreground= #ffffff
hit-background= #000000
error-foreground= #000000
error-background= #ff7777
#cursor (only foreground can be set)
#cursor (only foreground can be set
, restart IDLE
)
cursor-foreground= black
#shell window
stdout-foreground= blue
...
...
Lib/idlelib/help.txt
Dosyayı görüntüle @
6e4620bf
...
...
@@ -55,6 +55,7 @@ Format Menu (only in Edit window):
Comment Out Region -- Insert ## in front of selected lines
Uncomment Region -- Remove leading # or ## from selected lines
Tabify Region -- Turns *leading* stretches of spaces into tabs
(Note: We recommend using 4 space blocks to indent Python code.)
Untabify Region -- Turn *all* tabs into the right number of spaces
New Indent Width... -- Open dialog to change indent width
Format Paragraph -- Reformat the current blank-line-separated
...
...
@@ -117,9 +118,9 @@ Help Menu:
Additional Help Sources:
Windows users can Google on
pythlp.chm and zopeshelf.chm to access help
files in the Windows help format. The Additional Help Sources featur
e
of the
configuration GUI supports .chm, along with any other filetypes
Windows users can Google on
zopeshelf.chm to access Zope help files in
the Windows help format. The Additional Help Sources feature of th
e
configuration GUI supports .chm, along with any other filetypes
supported by your browser. Supply a Menu Item title, and enter the
location in the Help File Path slot of the New Help Source dialog. Use
http:// and/or www. to identify external URLs, or download the file and
...
...
@@ -131,48 +132,52 @@ Additional Help Sources:
Basic editing and navigation:
Backspace deletes to the left; DEL deletes to the right
Arrow keys and Page Up/Down to move around
Home/End go to begin/end of line
Control-Home/End go to begin/end of file
Some Emacs or standard Windows bindings may work.
Backspace deletes to the left; DEL deletes to the right.
Arrow keys and Page Up/Down move around.
Control-left/right Arrow moves by words in a strange but useful way.
Home/End go to begin/end of line.
Control-Home/End go to begin/end of file.
Some useful Emacs bindings (Control-a, Control-e, Control-k, etc.)
are inherited from Tcl/Tk.
Standard Windows bindings may work on that platform.
Keybindings are selected in the Settings Dialog, look there.
Automatic indentation:
After a block-opening statement, the next line is indented by
4 spaces (in the Python Shell window by one tab). After
certain keywords (break, return etc.) the next line is
dedented. In leading indentation, Backspace deletes up to 4
spaces if they are there. Tab inserts spaces (in the
Python Shell window one tab), number depends on Indent Width.
(N.B. Currently tabs are restricted to four spaces due to Tcl/Tk
issues.)
After a block-opening statement, the next line is indented by 4 spaces
(in the Python Shell window by one tab). After certain keywords
(break, return etc.) the next line is dedented. In leading
indentation, Backspace deletes up to 4 spaces if they are there. Tab
inserts spaces (in the Python Shell window one tab), number depends on
Indent Width. (N.B. Currently tabs are restricted to four spaces due
to Tcl/Tk issues.)
See also the indent/dedent region commands in the edit menu.
Python Shell window:
Control-c interrupts executing command
Control-c interrupts executing command
.
Control-d sends end-of-file; closes window if typed at >>> prompt
(this is Control-z on Windows).
Command history:
Alt-p retrieves previous command matching what you have typed
Alt-n retrieves next
Alt-p retrieves previous command matching what you have typed
.
Alt-n retrieves next
.
(These are Control-p, Control-n on the Mac)
Return while cursor is on a previous command retrieves that command
Expand word is also useful to reduce typing
Return while cursor is on a previous command retrieves that command
.
Expand word is also useful to reduce typing
.
Syntax colors:
The coloring is applied in a background "thread", so you may
occasionally see uncolorized text. To change the color
scheme, use the
Settings/
Highlighting dialog.
scheme, use the
Configure IDLE /
Highlighting dialog.
Python default syntax colors:
Keywords orange
Builtins royal purple
Strings green
Comments red
Definitions blue
...
...
@@ -181,7 +186,7 @@ Python Shell window:
Console output brown
stdout blue
stderr
dark green
stderr
red
stdin black
Other preferences:
...
...
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