If you’ve used the Xcode 6 Swift REPL you may have noticed a number of changes 
to the way we handle line editing, particularly for text spanning multiple 
lines.  I intend to merge back the relevant line editing changes in the next 
few days and wanted to provide some advance warning that this is coming.  This 
completely replaces editline.h/cpp and makes non-trivial changes to 
IOHandler.h/cpp.  There are also minor changes to the command interpreter.  
From the original commit log:

    Complete rewrite of interactive editing support for single- and multi-line 
input.
    
    Improvements include:
    * Use of libedit's wide character support, which is imperfect but a 
distinct improvement over ASCII-only
    * Use of "faint” colorization for line prompts
    * Breaking lines and insert new lines in the middle of a batch by simply 
pressing return
    * Joining lines with forward and backward character deletion
    * Detection of paste to suppress automatic formatting and statement 
completion tests
    * Correctly reformatting when lines grow or shrink to occupy different 
numbers of rows
    * Saving multi-line history, and correctly preserving the "tip" of history 
during editing
    * Displaying visible ^C and ^D indications when interrupting input or 
sending EOF
    * VI support for multi-line editing
    * General correctness and reliability improvements

The most obvious caveat here is that while these changes have been exercised on 
OS X, it’s certainly possible that we’ll see issues crop up on other platforms 
as a result.

Kate Stone k8st...@apple.com <mailto:k8st...@apple.com>
 Xcode Runtime Analysis Tools

_______________________________________________
lldb-dev mailing list
lldb-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to