Uploaded image for project: 'Aesh'
  1. Aesh
  2. AESH-444

CompleterInvocation.getGivenCompleteValue returns escaped content

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 1.0.0.Alpha1
    • None
    • None
    • None

      The value typed by the user is not the value received by the completer.
      Imagine a FilePath completer that deals with directory files.

      cmd --opt1=/my\ path/myfile.<TAB>

      The completer receives "/my path/myfile.", there is now a difference of 1 character, the length of the value to complete is meaningless and doesn't allow for offset computation.
      There is no way to compute an offset in order to complete after the "." or after the "/"

              spederse@redhat.com Stale Pedersen
              jdenise@redhat.com Jean Francois Denise
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: