A method to know what argument the cursor would complete
In the input, the completion methods would like to know where the cursor is. This would let us easily complete a different thing depending on the argument position.
- Revision bb59771d by mathieui on 2013-08-01T18:17:12Z:
Fix #2049 (get the current completed argument) A command argument can now be completed even if it isn’t the last one in the input. - Add a new method Input.new_completion Almost like the old auto_completion method, except taht it takes another argument: argument_position, which is the argument to be completed. - Methods using the old completion method still work - All completion methods in poezio now use the new one if necessary - Further details can be found in the docstring of new_completion
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information