There is another change in FireMonkey 2 in RAD Studio XE3 which does not show up on the What's New page, but which pays dividends in terms of performance, usability and extensibility: Refining component properties. The FireMonkey team has performed a comprehensive audit of all the component properties to re-examine whether each property should be published or not, whether the property's default value is appropriate and whether it is published at the appropriate level of the component hierarchy tree. The result of this audit was a lot of little changes throughout the FireMonkey framework. When a component property is published (that is, is appears in a published section of a class decla...
RAD Studio XE3 introduces the next evolution of the FireMonkey framework: FM2. The What's New in FM2 page highlights a lot of the new features. I wanted to point out some under the hood changes that are also significant. Platform One of the key concepts at the base of a cross-platform framework is providing an abstraction of the runtime environment, the operating system and hardware. In the original release of FireMonkey in RAD Studio XE2, this abstraction was provided by an abstract class, TPlatform. Each supported platform (Windows, Mac OS X and iOS) had a concrete implementation of this abstract class and it was accessed via a global Platform variable. When the runtime platforms have...

Posted by on in Blogs
Code Template Completion
There are a couple other little editor enhancements in RAD Studio XE that I wanted to highlight: Templates In Code Completion Code Templates have appeared in the code completion list for several releases. However, the code completion list has just shown the name of the code template. Often, the template name is not descriptive enough to know what the code template will do. In RAD Studio XE, the description of the code template will now also appear in the completion list: [caption id="attachment_44" align="aligncenter" width="346" caption="Code Template Completion"][/caption] Code Templates are one of the most powerful features of the RAD Studio code editor. This little enhancement sh...

Posted by on in Blogs
Now that RAD Studio XE has shipped, I have a chance to post about some of the features that I worked on. Most of my time has been spent working on some features for future versions that I cannot talk about yet. But I did make a few small improvements to the RAD Studio XE code editor that are worth highlighting. I'll start with my favorite little feature: a couple of keyboard shortcuts for searching in the code editor. I find myself using these new shortcuts several times a day. When I'm searching for something in the code editor, I often know that the instance I want to find is above my cursor position. In previous versions of RAD Studio, I would usually press Ctrl+Home to go to the top o...
During the recent field test for RAD Studio 2010, I had a discussion with some field testers about the different mechanisms that the IDE provides for navigating through your source code. In particular, they were wondering why sometimes one method of code navigation fails, but other methods still work. I thought that this would be of interest to some of you as well, so I figured that I’d post about it here. The IDE provides four common ways of navigating through your code within the code editor: Code Browsing (also known as Ctrl-Click or Go To Declaration) Toggling between interface and implementation sections Open File At Cursor Help Insight navigation links The mechanism b...

Posted by on in Blogs
Would you like to see the new code editor Search Bar and Search Highlighting in action? Do you have questions about it, or about other new features of the RAD Studio 2010 code editor? Then make sure you register for next week's free CodeRage 4 Virtual Developer's Conference. I just finished recording my short segment that will be part of the "New Features in the RAD Studio IDE" session. This session debuts on Tuesday and is repeated on Friday. Following the pre-recorded portions of the session, I will be available for questions along with other members of the RAD Studio IDE team. The conference is free and it looks like there a lot of great sessions, but you need to register to attend. Click...
Rename Generic
Another enhanced feature in the RAD Studio 2010 and Delphi 2010 IDE is better support for Delphi generics. Both refactoring and Help Insight were updated to support generic types. Refactoring In Delphi 2010, it's now possible to perform rename refactoring on generic type and method symbols: [caption id="attachment_12" align="aligncenter" width="300" caption="Rename Generic"][/caption] Change Parameters refactoring lets you add or remove procedure or function parameters from a generic procedure type: [caption id="attachment_13" align="aligncenter" width="300" caption="Change Parameters Refactoring"][/caption] Extract Method refactoring will work in code that contains generics, t...

Posted by on in Blogs
We have been given the green light to talk about some things that we've been working on for Embarcadero RAD Studio 2010 (and Delphi 2010 and C++Builder 2010). I figured that was a good excuse to get started here since I do have a couple new code editor features that I'd like to show off. Search Highlighting The search function of the code editor is one of those workhorse features that gets used all the time. While it does its job well, sometimes it seems that it could be a bit smarter. For example, if my cursor is past the instance that I'm really looking for, I often end up invoking to search a couple times to find it. This is because the search only shows one match at a time and it only ...
  • Page :
  • 1