prev leo next

What's New in Leo 4.4

This page summarizes the changes made in Leo 4.4. For full details see the release notes section in LeoDocs.leo.

The main features of Leo 4.4 are:

New commands

activate-cmds-menu
activate-edit-menu
activate-file-menu
activate-help-menu
activate-outline-menu
activate-plugins-menu
activate-window-menu
add-space-to-lines
add-tab-to-lines
clean-lines
clear-selected-text
click-click-box
click-headline
click-icon-box
clone-find-all
contract-and-go-right
contract-body-pane
contract-log-pane
contract-outline-pane
contract-pane
double-click-headline
double-click-icon-box
dump-all-objects
dump-new-objects
expand-body-pane
expand-log-pane
expand-outline-pane
expand-pane
find-again
find-all
find-tab-change
find-tab-change-all
find-tab-change-then-find
find-tab-find command
find-tab-find-previous
free-text-widgets
fully-expand-body-pane
fully-expand-log-pane
fully-expand-outline-pane
fully-expand-pane
goto-first-sibling
goto-global-line
goto-last-sibling
help
help-for-command
hide-body-pane
hide-find-tab
hide-log-pane
hide-minibuffer
hide-outline-pane
hide-pane,
open-find-tab
open-find-tab
open-outline-by-name (uses filename completion)
open-spell-tab
print-bindings
print-commands    re-search-backward
re-search-forward
remove-space-from-lines
remove-tab-from-lines
replace-string
scroll-down
scroll-down-extend-selection
scroll-outline-down-line
scroll-outline-down-page
scroll-outline-up-line
scroll-outline-up-page
scroll-up
scroll-up-extend-selection
search-backward
search-forward
search-with-present-options
set-find-everywhere
set-find-node-only
set-find-suboutline-only
show-colors
show-fonts
show-minibuffer
show-search-options
simulate-begin-drag
simulate-end-drag
toggle-find-ignore-case-option
toggle-find-in-body-option,
toggle-find-in-headline-option
toggle-find-mark-changes-option
toggle-find-mark-finds-option
toggle-find-regex-option
toggle-find-reverse-option
toggle-find-word-option and
toggle-find-wrap-around-option
toggle-mini-buffer
verbose-dump-objects
word-search-backward
word-search-forward

New features

  • Added script to update new copies of leoSetttings.leo from previous copies.
  • Made all edit command undoable.
  • Improved registerCommand.
  • Suppressed autocompletion after numbers.
  • Added colorizing support for Lua language.
  • Added run-unit-test command.
  • Autocompletion and calltips.
  • Leo remembers the previous open directory.
  • Fixed problem with view plugin.
  • Installed cleo patch.
  • User input modes.
  • Installed many standard bindings to leoSettings.leo.
  • Added Check Bindings script in leoSettings.leo.
  • Scripts now maintain original focus.
  • Improved cursor move/extend commands.
  • Added support for @mode nodes.
  • keyboard-quit restores default input mode.
  • Created ut.leo, ut.py and ut.bat.
  • Added modes/*.xml to distribution.
  • Revised cursor movement commands and added selection-extension commands.
  • Added classic key bindings in leoSettings.leo.
  • Allow multiple key bindings to the same command.
  • Settings command now opens leoSettings.leo.
  • Moved all scripts into scripts.leo.
  • Improved how the New Tab and Rename Tab commands work in the log pane.
  • Improved the appearance of the Spell tab.
  • Added Clone-find checkbox to the Find tab.
  • Improved find tab.
  • Improved formatting of shortcuts in print-commands and print-bindings.
  • Added settings for vim plugin.
  • Put up a dialog if can't import Pmw.
  • Bound <Return> to end-edit-headline.
  • Leo now ignores key bindings in menu tables.
  • Created scripts.leo and unitTest.leo.
  • c.executeMinibufferCommand executes a minibuffer command by name.
  • Improved perl entries in language dicts.
  • The tabbed log.
  • The Find tab replaces the old Find panel; the old Find panel is deprecated.

Added new convenience methods for scripts and plugins

The c.frame.logcreateCanvas convenience method create a canvas tab in the log pane. Here is a sample script:

log = c.frame.log ; tag = 'my-canvas'

w = log.canvasDict.get(tag) if not w: ..w = log.createCanvas(tag) ..w.configure(bg='yellow')

log.selectTab(tag)

New and improved plugins

  • Changed path to stylesheet in the rst3 plugin.

  • Fixed crasher in Word (and other) plugins.

  • Fixed problem with labels plugin.

  • Added the following commands for the groupoperations plugin:

    group-operations-clear-marked
    group-operations-mark-for-copy
    group-operations-mark-for-move
    group-operations-mark-for-clone
    group-operations-mark-target
    group-operations-operate-on-marked
    group-operations-transfer
    
  • Installed cleo patch.

  • The scripting plugin now supports shortcuts in @button nodes:

    @button name @key=shortcut
    
  • The scripting plugin now supports @command nodes:

    @command name @key=shortcut
    

New and improved settings

Added new settings:

@bool allow_idle_time_hook
@bool autocomplete-brackets.
@bool gc_before_redraw
@bool minibufferSearchesShowFindTab
@bool show_only_find_tab_options
@bool show_tree_stats
@bool trace_autocompleter
@bool trace_bindings
@bool trace_doCommand
@bool trace_f.set_focus
@bool trace_focus
@bool trace_g.app.gui.set_focus
@bool trace_gc
@bool trace_gc_calls
@bool trace_gc_verbose
@bool trace_key_event
@bool trace_masterClickHandler
@bool trace_masterCommand
@bool trace_masterFocusHandler
@bool trace_masterKeyHandler
@bool trace_minibuffer
@bool trace_modes
@bool trace_redraw_now
@bool trace_select
@bool trace_status_line
@bool trace_tree
@bool trace_tree_alloc
@bool trace_tree_edit
@bool useCmdMenu
@bool useMinibuffer
@bool use_syntax_coloring
@color body_text_selection_background_color
@color body_text_selection_foreground_color.
@color log_pane_Find_tab_background_color
@color log_pane_Spell_tab_background_color, etc.
@int max_undo_stack_size,
@string trace_bindings_filter
@string trace_bindings_pane_filter
  • Added @shortcuts nodes.

  • Leo now supports per-pane bindings of the form:

    command-name ! pane = shortcut
    
  • The spelling settings replace the settings in spellpyx.ini.


prev leo next