Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-1182

New copy and paste menu items should distinguish between copying objects and copying text

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0M5
    • Undefined future
    • Modeler
    • None
    • os x 10.5; java 1.5.

    Description

      I had some text that I wanted to copy and paste from one SQLTemplate to another. After highlighting the text, I went to edit->copy, selected my other query, placed the cursor, and did edit->paste. To my surprise*, the entirety of the sql template content (from all adapters that had content registered) was pasted. Given that copy/paste shortcuts work (well, /almost/ work on OS X, see CAY-1149) within the text panes, as a user, I would expect the copy/paste menu items to work as expected. What may be tricky is figuring out the appropriate context. But, in general, if there is selected text, I would assume that edit->copy/edit->cut should act on the select text, otherwise, they should work at the objentity/dbentity/query level.

      *to be fair, the "copy" button did say copy /query/, rather than copy text, so I shoulda known, but...

      Attachments

        Activity

          People

            antidote Andrey Razumovsky
            ongakugainochi Robert Zeigler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: