summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/EditorWindow.py
Commit message (Collapse)AuthorAgeFilesLines
* Tkinter rename reversal: remove tkinter package, adapt imports and docs.Georg Brandl2008-05-201-4/+4
|
* Tkinter rename, step 2: fix imports and add stub modules.Georg Brandl2008-05-161-4/+4
|
* Home / Control-A toggles between left margin and end of leading whiteKurt B. Kaiser2008-04-271-0/+45
| | | | | | | | space. Patch 1196903 Jeff Shute. M idlelib/PyShell.py M idlelib/EditorWindow.py M idlelib/NEWS.txt
* Configured selection highlighting colors were ignored; updating highlightingKurt B. Kaiser2008-02-151-33/+26
| | | | | in the config dialog would cause non-Python files to be colored as if they were Python source; improve use of ColorDelagator. Patch 1334. Tal Einat.
* show paste if > 80 columns. Patch 1659326 Tal Einat.Kurt B. Kaiser2007-10-101-0/+1
|
* textView cleanup. Patch 1718043 Tal Einat.Kurt B. Kaiser2007-10-041-1/+1
| | | | | | | M idlelib/EditorWindow.py M idlelib/aboutDialog.py M idlelib/textView.py M idlelib/NEWS.txt
* Clean up EditorWindow close.Kurt B. Kaiser2007-10-041-13/+14
|
* - idle: Honor the "Cancel" action in the save dialog (Debian bug #299092).Matthias Klose2007-01-111-1/+1
|
* Patch #1362975: Rework CodeContext indentation algorithm toMartin v. Löwis2006-11-221-1/+1
| | | | | avoid hard-coding pixel widths. Also make the text's scrollbar a child of the text frame, not the top widget.
* ToggleTab dialog was setting indent to 8 even if cancelled (since 1.2a1).Kurt B. Kaiser2006-08-091-5/+5
|
* Fix bug #1517990: IDLE keybindings on OSXRonald Oussoren2006-07-251-1/+1
| | | | | | | This adds a new key definition for OSX, which is slightly different from the classic mac definition. Also add NEWS item for a couple of bugfixes I added recently.
* - EditorWindow.test() was failing. Bug 1417598Kurt B. Kaiser2006-07-241-2/+3
| | | | | | M EditorWindow.py M ScriptBinding.py M NEWS.txt
* EditorWindow failed when used stand-alone if sys.ps1 not set.Kurt B. Kaiser2006-07-241-0/+4
| | | | | | | | Bug 1010370 Dave Florek M EditorWindow.py M PyShell.py M NEWS.txt
* Without this patch CMD-W won't close EditorWindows on MacOS X. This solvesRonald Oussoren2006-07-231-0/+3
| | | | part of bug #1517990.
* This patch improves the L&F of IDLE on OSX. The changes are conditionalized onRonald Oussoren2006-06-111-0/+25
| | | | | being in an IDLE.app bundle on darwin. This does a slight reorganisation of the menus and adds support for file-open events.
* Make use of new str.startswith/endswith semantics.Georg Brandl2006-06-091-1/+1
| | | | Occurences in email and compiler were ignored due to backwards compat requirements.
* Patch #1162825: Support non-ASCII characters in IDLE window titles.Martin v. Löwis2005-11-271-4/+23
|
* Following 'syntax' patch, accelerator keys in menus weren't beingKurt B. Kaiser2005-11-221-22/+21
| | | | updated after a keyset change. Also, formatted ApplyKeyBindings()
* Merge IDLE-syntax-branch r39668:41449 into trunkKurt B. Kaiser2005-11-181-15/+46
| | | | | | | | | | | | | | | | A idlelib/AutoCompleteWindow.py A idlelib/AutoComplete.py A idlelib/HyperParser.py M idlelib/PyShell.py M idlelib/ParenMatch.py M idlelib/configDialog.py M idlelib/EditorWindow.py M idlelib/PyParse.py M idlelib/CallTips.py M idlelib/CallTipWindow.py M idlelib/run.py M idlelib/config-extensions.def A idlelib/MultiCall.py
* Better indentation after first line of string continuation.Kurt B. Kaiser2005-11-151-2/+6
| | | | IDLEfork Patch 681992, Noam Raphael
* 1. Clarify "tab/space" Error Dialog and "Tab Width" Dialog associated withKurt B. Kaiser2005-06-121-1/+1
| | | | | | | | | | the Untabify command. 2. Corrected "tab/space" Error Dialog to show correct menu for Untabify. Patch 1196980 Jeff Shute M EditorWindow.py M NEWS.txt M ScriptBinding.py
* 1. Patch 1196895 Jeff Shute:Kurt B. Kaiser2005-06-121-1/+2
| | | | | | | | | | | | | | New files are colorized by default, and colorizing is removed when saving as non-Python files. Patch 1196895 Jeff Shute Closes Python Bugs 775012 and 800432, partial fix IDLEfork 763524 2. Update help.txt for left/right word delete M CREDITS.txt M ColorDelegator.py M EditorWindow.py M NEWS.txt M help.txt
* Removed ability to configure tabs indent from Options dialog. This 'feature'Kurt B. Kaiser2005-01-311-12/+23
| | | | | | | | | | | | | | | | | has never worked and no one has complained. It is still possible to set a default tabs (v. spaces) indent 'manually' via config-main.def (or to turn on tabs for the current EditorWindow via the Format menu) but IDLE will encourage indentation via spaces. Enable setting the indentation width using the Options dialog. Bug # 783877 Remove some commented out old code from configDialog.py (related to old methods for invoking the HelpBrowser). M EditorWindow.py M NEWS.txt M configHandler.py
* Add keybindings for del-word-left and del-word-right.Kurt B. Kaiser2005-01-281-0/+10
| | | | | | | M EditorWindow.py M NEWS.txt M config-keys.def M configHandler.py
* 1. Polish tabbing code.Kurt B. Kaiser2005-01-191-61/+56
| | | | | | | | | | | | | | | | | 2. Restore use of set_indentation_params(), was dead code since Autoindent.py was merged into EditorWindow.py. 3. Make usetabs, indentwidth, tabwidth, context_use_ps1 instance vars and set in EditorWindow.__init__() 4. In PyShell.__init__() set usetabs, indentwidth and context_use_ps1 explicitly (config() is eliminated). 5. Add Tabnanny check when Module is Run/F5, not just when Checked. 6. Discourage using an indent width other than 8 when using tabs to indent Python code. M EditorWindow.py M NEWS.txt M PyShell.py M ScriptBinding.py
* If an extension can't be loaded, print warning and skip it instead ofKurt B. Kaiser2005-01-181-2/+5
| | | | erroring out.
* The remote procedure call module rpc.py can now access data attributes ofKurt B. Kaiser2004-12-211-2/+2
| | | | | | | | | | | remote registered objects. Changes to these attributes are local, however. M EditorWindow.py M NEWS.txt M PyShell.py M idlever.py M rpc.py M run.py
* 1. If user passes a non-existant filename on the commandline, just openKurt B. Kaiser2004-08-221-8/+2
| | | | | | | | | | | | | | | | | a new file, don't raise a dialog. IDLEfork 954928. 2. Refactor EditorWindow.wakeup() to WindowList.ListedToplevel.wakeup() and clarify that the Toplevel of an EditorWindow is a WindowList.ListedToplevel. 3. Make a number of improvements to keyboard focus binding. Improve window raising, especially in the debugger. IDLEfork Bug 763524 (GvR list). 4. Bump idlever to 1.1a3 M Debugger.py M EditorWindow.py M FileList.py M NEWS.txt M PyShell.py M WindowList.py M idlever.py
* EditorWindow.py was not finding the .chm help file on Windows. TypoKurt B. Kaiser2004-07-211-1/+2
| | | | at Rev 1.54. Python Bug 990954
* Checking sys.platform for substring 'win' was breaking IDLE docs on MacKurt B. Kaiser2004-07-151-14/+9
| | | | | | | | | (darwin). Also, Mac Safari browser requires full file:// URIs. SF 900580 M EditorWindow.py M NEWS.txt M configHelpSourceEdit.py M idlever.py
* Noam Raphel: Further developemt of CodeContext feature.Kurt B. Kaiser2004-06-061-4/+4
| | | | | | | | | | | | The visibility state of the code context pane is now persistent between sessions and the pane does not appear in the shell window. M CodeContext.py M EditorWindow.py M NEWS.txt M PyShell.py M config-extensions.def M configHandler.py
* 1. Polish variables in EditorWindow extension loading and Tkinter variable code.Kurt B. Kaiser2004-04-241-25/+30
| | | | | | | | | | | 2. Add exception handling to EditorWindow Tkinter variable setvar() and getvar() fcns. 3. EditorWindow: remove some unneeded comments. 4. Add a separator to the Options menu 5. extend.txt: describe how to create a menu entry which has no keybinding. M Bindings.py M EditorWindow.py M extend.txt
* M EditorWindow.pyKurt B. Kaiser2004-04-111-65/+49
| | | | | | | | | M IOBinding.py M NEWS.txt M configDialog.py - If nulls somehow got into the strings in recent-files.lst EditorWindow.update_recent_files_list() was failing. Python Bug 931336.
* Add a highlight theme for builtin keywords. Python Patch 805830 Nigel RoweKurt B. Kaiser2004-03-081-0/+2
| | | | | | | | | | | | M ClassBrowser.py M ColorDelegator.py M EditorWindow.py M NEWS.txt M PyShell.py M TreeWidget.py M config-highlight.def M configDialog.py M configHandler.py
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-121-5/+5
| | | | From SF patch #852334.
* Let IDLE use the HTMLHelp docs on Windows, if found.Thomas Heller2003-09-231-2/+6
| | | | Already 'backported' to release23-maint.
* SF patch #768187: replace apply(f, args, kwds) with f(*args, **kwds)Raymond Hettinger2003-07-091-1/+1
|
* 1. Remove the Readme entry on the Help Menu, now in About dialog.Kurt B. Kaiser2003-06-121-6/+1
| | | | | | 2. Change title on About dialog. Modified Files: Bindings.py EditorWindow.py
* 1. Find in Files Dialog shows text selection if there is oneKurt B. Kaiser2003-06-071-3/+0
| | | | | | | 2. Remove obsolete comment associated with Window menu updating M EditorWindow.py M GrepDialog.py
* 1. Update WindowList registry when filename changes so thatKurt B. Kaiser2003-06-061-0/+1
| | | | | | | | | | Window menu updates. 2. Display Python Shell window in Window menu 3. Remove some dead code in FileList.py M EditorWindow.py M FileList.py M WindowList.py
* Change to <<open-module>>: always pop up the dialog, using the currentGuido van Rossum2003-06-051-8/+7
| | | | selection as the default value. This is easier to use habitually.
* SF 748973 Guido van Rossum patchKurt B. Kaiser2003-06-051-2/+7
| | | | | | | | | New Window should save in the directory of the Editor Window from which it was selected. M EditorWindow.py M FileList.py M IOBinding.py
* Patch 611069 (Christos Georgiou) IDLE TODO:left/right when selected textKurt B. Kaiser2003-01-171-0/+22
| | | | | | M EditorWindow.py M NEWS.txt M TODO.txt
* M Bindings.pyKurt B. Kaiser2003-01-141-26/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | M EditorWindow.py M NEWS.txt M config-main.def M configDialog.py M configHandler.py M configHelpSourceEdit.py M configSectionNameDialog.py - Change default: IDLE now starts with Python Shell. - Removed the File Path from the Additional Help Sources scrolled list. - Add capability to access Additional Help Sources on the web if the Help File Path begins with //http or www. (Otherwise local path is validated, as before.) - Additional Help Sources were not being posted on the Help menu in the order entered. Implement sorting the list by [HelpFiles] 'option' number. - Add Browse button to New Help Source dialog. Arrange to start in Python/Doc if platform is Windows, otherwise start in current directory. - Put the Additional Help Sources directly on the Help menu instead of in an Extra Help cascade menu. Rearrange the Help menu so the Additional Help Sources come last. Update help.txt appropriately. - Fix Tk root pop-ups in configSectionNameDialog.py and configDialog.py
* SF bug #652933 (for IdleFork): Open Module "math" Fails (Hettinger)Kurt B. Kaiser2003-01-101-1/+4
| | | | | | | When a module doesn't have a __path__ attribute, trigger a dialog box rather than dumping a traceback to the console. Synch to Python IDLE.
* 1. Make finding Python help docs more robust, including the installedKurt B. Kaiser2003-01-101-19/+29
| | | | | | configuation. 2. Make sure that os.startfile() is used to open both Python help docs and Extra Help docs on the Windows platforms.
* M AutoExpand.pyKurt B. Kaiser2003-01-041-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | M Bindings.py M EditorWindow.py M PyShell.py M config-keys.def M configHandler.py M help.txt 1. Annotate the shell window with last restart boundary upon restart. 2. Provide a shell menu entry and hot key (F6) to jump to the last restart boundary. 3. Add a new shell menu feature to restart the shell. 4. Update the help menu to add these features. 5. Update the help menu to put text in same order as the menus. 6. Correct a capitalization inconsistency on the Edit menu: Expand Word 7. Rename the "Debug" menu to be "Shell": it's doing more now. 8. Rearrange the "Shell" menu to make the StackViewer entries adjacent. 9. Add a get_geometry method to EditorWindow, which may be of use in making window positions persisent. 10. Make <ctrl-v> the "Classic Windows" paste key. 11. Restore decorum on the Help menu by removing "Advice". As Guido said, things will never be the same. Thanks, David!
* Whitespace NormalizationKurt B. Kaiser2002-12-311-20/+20
|
* Remove some old debugging print statements.Kurt B. Kaiser2002-12-291-10/+0
|
* M EditorWindow.pyKurt B. Kaiser2002-12-291-7/+8
| | | | | | | | | | | | | | | M PyShell.py 1. PyShell Rev 1.39, EditorWindow Rev 1.37 fix was not handling a multiline prompt. 2. The same fix introduced a bug where hitting <enter> at a previous prompt-only line would copy the prompt to the iomark. 3. Move the setting of sys.ps1 earlier, into PyShell.main(), to allow this code to work before a shell is started up. 4. If cursor is on the input line in the prompt, and you hit <enter>, process the line instead of complaining. 5. If line has no stdin range (this includes the last line before shell restart) strip any prompt before recalling.