摘要:
Digital shadowing when rendering visual items (e.g., windows) at different virtual display levels (such as z-order levels). The rendering is based on the determination of a position and virtual display level for each of the visual items to be displayed. For those visual items that cast a shadow on lower-level in-shadow visual items, the determined position of the shadow-casting visual item is used to render the shadow on each of the in-shadow visual items differently depending on the corresponding virtual display level of the in-shadow visual items. In particular, the in-shadow visual item that has a lower virtual display level has a longer shadow cast by the shadow-casting visual item than those in-shadow visual items that have a higher virtual display level. This allows the shadows to have a more natural look.
摘要:
The present invention extends to methods, systems, and computer program products for smart gestures for diagram state transitions. Embodiments of the invention expose a set of gestures and behaviors, which permit diagram transitions to be made with a reduced number of (and potentially a single) user gesture(s). For example, zoom levels can be toggled between a working zoom level and a zoom level sufficient to present an entire diagram and vice versa using a single user input gesture. Likewise, diagrams can be appropriately (and automatically) panned to make selected as well as newly created diagram elements visible in their entirety using a single user input gesture.
摘要:
Accessing data in a data store at a field granularity. A method includes receiving a query from a user. The query specifies one or more non-unique fields of a record. The method further includes sending the query to a data store to retrieve the fields of the record at a field granularity. The method further includes receiving data for the one or more non-unique fields of the record at a field granularity.
摘要:
Multiple independent classifiers of a code editor are used to classify a range of text. Each classifier is an independent classifier and can independently classify any given range of text. Classifiers can be added and merged during run time of the code editor. Adding a classifier does not require modification of any existing classifiers in the code editor. Text can be classified and formatted in accordance with any number of classifiers in the aggregate. The user of the code editor can initiate classification. The user of the code editor can select text for user specific formatting.
摘要:
The embodiments contemplate a system and method for the application of concurrent edits to the same version of a text. The concurrent edits may occur simultaneously or near simultaneously through collaborative editing schemes, where more than one user, processor, or agent applies edits to the version of the text. The application of the concurrent edits includes modifying or transforming the edits to account for changes made to the version of the text and applying the modified edits to the most recent version of the text. As edits may change the positioning of the text, an evaluation of the changes in the positioning of the text may be part of the modification.
摘要:
The present invention relates to a system and method that models computer programming language concepts in a plurality of objects and enables a computer programmer to interact with multiple programming languages through one code model interface. This allows the computer programmer to identify objects or functionality available in an application without having to know or specify an underlying language that implements that object or functionality. The computer programmer can employ the code model to locate an object that implements a specific functionality and return a code model object that implements that functionality. The computer programmer may then interact with that code model object rather than having to interact with the computer programming language.
摘要:
Maintenance of code knowledge for up-to-date access thereof. In one embodiment, a computer-implemented method for providing code knowledge in response to receiving a request for code knowledge regarding a computer program. The method first creates a proxy, then a node to which the proxy is pointed by a unique node key and which includes the code knowledge. The method updates the node as necessary to provide accurate code knowledge. For example, the method sets a flag of the proxy indicating the node as invalid upon a change event. Upon the flag of the proxy indicating the node as invalid, and upon receiving a second request for the code knowledge, the method recreates the node.
摘要:
A method and system for providing event-response and monitoring capabilities to a pseudocode program operating in a message or event-based operating environment. The method and system allow the pseudocode program to asynchronously respond to events via one or more trap routines located in the pseudocode program. The method and system also allow the pseudocode program to synchronously monitor events and receive parameters from operating system routines via callback routines located in the pseudocode program. The system includes an execution engine for executing instructions of the pseudocode program. An event-response routine in the pseudocode program includes instructions for responding to the event. An event-response dispatcher is adapted to receive information identifying the event-response routine, save the execution state of the execution engine, cause the execution engine to execute the event-response routine, and restore the execution state of the execution engine that existed before the event-response routine was executed. A transfer routine accessible in response to a call triggered by the event accesses the event-response dispatcher, passes information identifying the event-response routine to the event-response dispatcher, and returns control to the execution engine after the event-response dispatcher restores the state of the execution engine and returns to the transfer routine.
摘要:
Enhancing dynamic code. A method includes obtaining one or more first data structures defining constructs in a body of dynamic language source code. From the one or more first data structures, identifier information is extracted for one or more of the defined constructs. Knowledge about the constructs is augmented. Using the identifier information and augmented knowledge, metadata about the body of the dynamic language source code is generated. The generated metadata is represented as a symbol table. The body of dynamic language source code is visually enhanced based on the symbol table structure.
摘要:
In a composition model for large-scale extensible applications, applications are constructed in a modular fashion. The modules integrate with each other by producing and consuming functionality that conforms to a common definition. Producer modules and consumer modules are kept independent of one another, and are linked together indirectly via a definition module. .NET attributes are used to identify various code artifacts (such as classes, methods, properties, etc.) as being functionality definitions, productions, and/or consumptions. These attributes are examined by the module loader and used to create relationships between individually installed producer and consumer modules. The consumer uses .NET attributes to declare dependency on functionality and filter out implementations that don't meet the criteria specified by those attributes.