From 67a64b9ce2e3505fc87da25ca8f0dedc65d8161e 2010-08-23 07:25:35 From: Fernando Perez Date: 2010-08-23 07:25:35 Subject: [PATCH] Update messaging spec. --- diff --git a/docs/source/development/messaging.txt b/docs/source/development/messaging.txt index f4982b6..c27426b 100644 --- a/docs/source/development/messaging.txt +++ b/docs/source/development/messaging.txt @@ -351,6 +351,16 @@ Message type: ``complete_request``:: # make decisions that may require information about more than just the # current word. 'line' : str, + + # The entire block of text where the line is. This may be useful in the + # case of multiline completions where more context may be needed. Note: if + # in practice this field proves unnecessary, remove it to lighten the + # messages. + + 'block' : str, + + # The position of the cursor where the user hit 'TAB' on the line. + 'cursor_pos' : int, } Message type: ``complete_reply``::