1. Technical Field
Embodiments of the present disclosure relate to windows management technology, and more particularly to an electronic device and a method for editing windows.
2. Description of Related Art
A plurality of electronic devices include at least a display device. Many display device supports multiple windows. A window may cover other windows displayed on the display device. When a user wants to edit a window being covered by other windows, the user has to move the window and put the window above other windows, which is inconvenient and time-consuming.
The present disclosure, including the accompanying drawings, is illustrated by way of examples and not by way of limitation. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean “at least one.”
In general, the word “module”, as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language. One or more software instructions in the modules may be embedded in firmware, such as in an erasable programmable read only memory (EPROM). The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of non-transitory computer-readable medium or other storage system. Some non-limiting examples of non-transitory computer-readable media include CDs, DVDs, BLU-RAY, flash memory, and hard disk drives.
As shown in
In step S30, the first receiving module 100 receives a window selected by a user and displays the selected window on the display device 12. The window can be a text editing window, a webpage inputting window, or a program editing window, for example. When there are a plurality of windows opened by the user and the user selects a window, the selected window is displayed on the display device 12. The other windows are covered by the selected window.
In step S31, the second receiving module 101 receives an editing signal via the input device 11. For example, the editing signal may be activated by the user via the keyboard. The editing signal may be for editing text contents to a text window, or for typing a website address on a web page window.
In step S32, the searching module 102 detects whether the editing signal corresponds to the instructions stored in the storage system 14. When the editing signal corresponds to the instructions, step S33 is implemented. When the editing signal does not correspond to the instructions, step S36 is implemented.
In step S33, the first detection module 103 detects whether the editing signal corresponds to the association instruction or the canceling instruction. When the editing signal corresponds to the association instruction, step S34 is implemented. When the editing signal corresponds to the canceling instruction, step S35 is implemented.
In step S34, the association module 104 associates the association instruction to the selected window and marks the selected window. The association module 104 marks the association instruction to present that the association instruction has been associated with the selected window. Then the procedure ends.
In step S35, the canceling module 105 cancels the association between a window and the association instruction. The canceling module 105 also cancels the mark of the window. Then the procedure ends. The window may be the selected window or other windows which have been opened.
In step S36, the second detection module 106 detects whether the instruction stored in the storage system 14 has been associated with another window. When the instruction has not been associated with another window, step S37 is implemented. When the instruction has been associated with another window, step S38 is implemented.
In step S37, the first input module 107 inputs the editing signal to the selected window. For example, if the editing signal is for editing text, the first input module 107 inputs the edited text on the selected window. Then the procedure ends.
In step S38, the second input module 108 inputs the editing signal to the window associated with the instruction corresponding to the editing signal. For example, a window B is covered by a window A. When the user inputs an editing signal via the input device 11 and the window B is selected, contents corresponding to the editing signal are inputted to the window B.
Although certain disclosed embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the present disclosure without departing from the scope and spirit of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
101148551 | Dec 2012 | TW | national |