摘要 |
A code- or content-assist for various programming languages respects the boundaries of the data field in which the data is the be entered. Depending upon whether the data must be aligned within the column, as required by the programming language or by the spreadsheet or database, the content-assist widget and its method inserts or replaces selected completions proffered by the content-assist. In any event, the row and column of the data entry position is determined; the range of the column is compared with the selected completion. If position of data in the column is sensitive, then spaces may be appended, if necessary, to the selected completion to fill the column range. Otherwise or in a free-form programming language, the data entered by the user is removed from the selected completion and the modified selected completion is inserted at the column of data entry. The proposed completions may be filtered, depending upon previous entries, entries of the user, programming languages, types of code lines.
|