Patent ID: 9535667
Date: 2017-01-03
CPC Classifications: G06F

Claim:
1. A method for collapsing source code, the method comprising: accessing a source code for edit in an Integrated Development Environment (IDE), wherein the source code defines an electronic document; providing a user interface of the IDE, wherein the user interface comprises a code view that displays the source code and a design view that displays visual content, wherein the visual content comprises a what you see is what you get (WYSIWYG) rendering of the electronic document based on the source code; receiving, in the design view of the user interface, input selecting a portion of the visual content, wherein the portion of the visual content corresponds to a portion of the source code and comprises a WYSIWYG rendering of a portion of the electronic document based on the portion of the source code; indicating, in the design view, that the portion of the visual content is selected; receiving, in the user interface, input initiating a collapse function to collapse an unselected portion of the source code that corresponds to an unselected portion of the visual content, wherein the unselected portion of the visual content comprises a WYSIWYG rendering of an unselected portion of the electronic document based on the unselected portion of the source code; and