Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-3628

ij should show continuation marker even after entering whitespace

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Tools
    • None
    • Low

    Description

      The continutation marker is not shown when just hitting Enter (or any whitespace followed by Enter) until a semicolon terminates the "query":

      ij version 10.5
      ij>

      ;
      ij>

      Contrast this with the Bash shell's behaviour, which shows a marker as long as the line's being continued:

      MD@sunny ~/derby/trunk
      $ \
      > \
      > \
      >

      But ij should display a continuation marker until the terminating semicolon, regardless of what's been typed so far.

      Attachments

        Issue Links

          Activity

            mzaun Martin Zaun added a comment -

            The Derby Tools and Utilities Guide, tools/ctoolsij25986.html, could, perhaps, use some mentioning or example of the continuation marker when it speaks about the need to terminate "statements" or "commands" (one could also say "queries") with a semicolon.

            mzaun Martin Zaun added a comment - The Derby Tools and Utilities Guide, tools/ctoolsij25986.html, could, perhaps, use some mentioning or example of the continuation marker when it speaks about the need to terminate "statements" or "commands" (one could also say "queries") with a semicolon.
            chaase3 Camilla Haase added a comment -

            I agree that the Tools Guide should mention the continuation marker. I'll file a separate JIRA issue for this.

            chaase3 Camilla Haase added a comment - I agree that the Tools Guide should mention the continuation marker. I'll file a separate JIRA issue for this.

            People

              Unassigned Unassigned
              mzaun Martin Zaun
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: