@@ -6,7 +6,7 @@ CHANGELOG
66
77Version 2.0 includes a big refactoring of the internal architecture. This
88includes the merge of the CommandLineInterface and the Application object, a
9- rewrite of how user controls are focussed , a rewrite of how event loops work
9+ rewrite of how user controls are focused , a rewrite of how event loops work
1010and the removal of the buffers dictionary. This introduces many backwards
1111incompatible changes, but the result is a very nice and powerful architecture.
1212
@@ -39,9 +39,9 @@ Changes:
3939 (For backwards-compatibility, we have aliases to the old names, whenever
4040 possible.)
4141
42- - The way focussing works is different. Before it was always a `Buffer` that
43- was focussed , and because of that, any visible `BufferControl` that contained
44- this `Buffer` would be focussed . Now, any user control can be focussed . All
42+ - The way focusing works is different. Before it was always a `Buffer` that
43+ was focused , and because of that, any visible `BufferControl` that contained
44+ this `Buffer` would be focused . Now, any user control can be focused . All
4545 of this is handled in the `Application.layout` object.
4646
4747- The `buffers` dictionary (`CommandLineInterface.buffers`) does not exist
@@ -74,7 +74,7 @@ Changes:
7474
7575 * The `Key` class does not exist anymore. Every key is a string and it's
7676 considered fine to use string literals in the key bindings. This is more
77- readible , but we still have run-time validation. The `Keys` enum still
77+ readable , but we still have run-time validation. The `Keys` enum still
7878 exist (for backwards-compatibility, but also to have an overview of which
7979 keys are supported.)
8080 * 'enter' and 'tab' are key aliases for 'c-m' and 'c-i'.
@@ -93,7 +93,7 @@ Changes:
9393 used.
9494
9595- User controls can define key bindings, which are active when the user control
96- is focussed .
96+ is focused .
9797
9898 * `UIControl` got a `get_key_bindings` (abstract) method.
9999
@@ -204,7 +204,7 @@ Changes:
204204 * `TokenListControl` has been renamed to `FormattedTextControl`.
205205 * `Application.set_return_value` has been renamed to `Application.set_result`.
206206
207- - Other new featers :
207+ - Other new features :
208208
209209 * `DummyAutoSuggest` and `DynamicAutoSuggest` were added.
210210 * `DummyClipboard` and `DynamicClipboard` were added.
@@ -272,7 +272,7 @@ New features:
272272-----------------
273273
274274Fixes:
275- - Go to the start of the line in Vi nagivation mode, when 'j' or 'k' have been
275+ - Go to the start of the line in Vi navigation mode, when 'j' or 'k' have been
276276 pressed to navigate to a new history entry.
277277- Don't crash when pasting text that contains \r\n characters. (This could
278278 happen in iTerm2.)
@@ -350,7 +350,7 @@ For future compatibility:
350350 input; this is not correct and makes it impossible to distinguish between
351351 ControlJ and ControlM. Some applications bind ControlJ for custom handling of
352352 the enter key, because this equals \n. However, in a future version we will
353- stop replacing \r by \n and at that point, the enter key will be ControlM.
353+ stop replacing \r by \n and at that point, the enter key will be ControlM.
354354 So better is to use `Keys.Enter`, which becomes an alias for whatever the
355355 enter key translates into.
356356
@@ -363,7 +363,7 @@ Fixes:
363363- Bugfix in readline-like completion visualisation.
364364
365365New features:
366- - Added `erase_when_done` parameter to the `Aplication ` class. (This was
366+ - Added `erase_when_done` parameter to the `Application ` class. (This was
367367 required for the bug fixes.)
368368- Added (experimental) `CommandLineInterface.run_application_generator` method.
369369 (Also required for the bug fix.)
@@ -512,7 +512,7 @@ Backwards-incompatible changes:
512512- Renamed MouseEventTypes to MouseEventType for consistency. The old name is
513513 still valid, but deprecated.
514514- Refactoring of Callbacks. All events should now receive one argument, which
515- is the sender. (Furter , Callback was renamed to Event.) This is mostly used
515+ is the sender. (Further , Callback was renamed to Event.) This is mostly used
516516 internally.
517517- Moved on_invalidate callback from CommandLineInterface to Application
518518- Renamed `PipeInput.send` to `PipeInput.send_text`. (Old deprecated name is
@@ -733,7 +733,7 @@ Fixes:
733733- Fix in signal handler.
734734- Use utf-8 encoding in Vt100_Output by default.
735735- Use correct default token in BufferControl.
736- - Fix in ControlL key binding. Use @handle to allow desactivation .
736+ - Fix in ControlL key binding. Use @handle to allow deactivation .
737737
738738Backwards-incompatible changes:
739739- Renamed create_default_layout to create_prompt_layout
@@ -784,7 +784,7 @@ Fixes:
784784New features:
785785- Mouse support. (Scrolling and clicking for vt100 terminals. For Windows only
786786 clicking.) Both the autocompletion menus and buffer controls respond to
787- scolling and clicking.
787+ scrolling and clicking.
788788- Added auto suggestions. (Like the fish shell.)
789789- Stdout proxy become thread safe.
790790- Linewrapping can now be disabled, instead we get horizontal scrolling.
@@ -879,17 +879,17 @@ Fixes:
879879- Don't trigger autocompletion on paste.
880880- Added `pre_run` parameter to CommandLineInterface.
881881- Correct invalidation of BeforeInput and AfterInput.
882- - Correctly handle transparancy . (For floats.)
882+ - Correctly handle transparency . (For floats.)
883883- Small change in the algorithm to determine Window dimensions: keep in the
884884 bounds of the Window dimensions.
885885
886886Backwards-incompatible changes:
887887- There a now a `Lexer` abstract base class. Every lexer should be an instance
888888 of that class, and Pygments lexers should be wrapped in a `PygmentsLexer`
889889 class. `prompt_toolkit.shortcuts` still accepts Pygments lexers directly for
890- backwards-compatibilty .
890+ backwards-compatibility .
891891- BufferControl no longer has a `show_line_numbers` argument. Pass a
892- `NumberredMargin ` instance instead.
892+ `NumberedMargin ` instance instead.
893893- The `History` class became an abstract base class and only defines an
894894 interface. The default history class is now called `InMemoryHistory`.
895895
@@ -1056,7 +1056,7 @@ Bug fixes:
10561056----------------
10571057
10581058New features:
1059- - Added get_prompt_tokens paramter to create_default_layout.
1059+ - Added get_prompt_tokens parameter to create_default_layout.
10601060- Show prompt in bold by default.
10611061
10621062Bug fixes:
@@ -1100,7 +1100,7 @@ Backwards incompatible changes:
11001100----------------
11011101
11021102Bug fixes:
1103- - Crash fixed in SystemCompleter when some directiories didn't exist.
1103+ - Crash fixed in SystemCompleter when some directories didn't exist.
11041104- Made text/cursor_position in Document more atomic.
11051105- Fixed Char.__ne__, improves performance.
11061106- Better performance of the filter module.
@@ -1129,7 +1129,7 @@ New features:
11291129- Improved 'L' and 'H' Vi key bindings.
11301130- Implemented Vi 'zz' key binding.
11311131- ValidationToolbar got a show_position parameter.
1132- - When only width or hight are given for a float, the control is centered in
1132+ - When only width or height are given for a float, the control is centered in
11331133 the parent.
11341134- Added beforeKeyPress and afterKeyPress events.
11351135- Added HighlightMatchingBracketProcessor.
@@ -1148,11 +1148,11 @@ New features:
11481148
11491149Fixed:
11501150- Always insert indentation when pressing enter.
1151- - vertical_srcoll should be an int instead of a float.
1151+ - vertical_scroll should be an int instead of a float.
11521152- Some bug fixes in renderer.Output.
11531153- Pressing backspace in an empty search in Vi mode now goes back to navigation
11541154 mode.
1155- - Bug fix in TokenListControl (Correctly calculate hight for multiline
1155+ - Bug fix in TokenListControl (Correctly calculate height for multiline
11561156 content.)
11571157- Only apply HighlightMatchingBracketProcessor when editing buffer.
11581158- Ensure that floating layouts never go out of bounds.
@@ -1240,7 +1240,7 @@ Fixed:
12401240
12411241Backwards-incompatible changes:
12421242- Refactoring of the key input system. (The registry which contains the key
1243- bindings, the focus stack, key binding manager.) Overal much better API.
1243+ bindings, the focus stack, key binding manager.) Overall much better API.
12441244- Renamed `Line` to `Buffer`.
12451245
12461246New features:
0 commit comments