Method and system for code editing
A method and system for code editing using copy and paste operations are provided. The method includes copying a section of text (111) from a source program text (101) and providing source context information (120) for the copied section of text (111). The method further includes pasting (140) the c...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | A method and system for code editing using copy and paste operations are provided. The method includes copying a section of text (111) from a source program text (101) and providing source context information (120) for the copied section of text (111). The method further includes pasting (140) the copied section of text (111) to a destination location, including: defining the pasted text (140) as separate from the destination program text (102); carrying out editing (132) to conform variables of the pasted text to the variables of the destination program text (102); and then integrating (133) the pasted text into the destination program text (102). The step of carrying out editing to conform variables of the pasted text (140) to the variables of the destination program text (102) references the source context information (120) and context information (104) of the destination program text (102). Providing source context information (120) may either provide a rich schema storable in association with the copied text (111), providing metadata information relating to the variables of the copied text, or may provide a link to the source program code context information (103). |
---|