IDE Development

This is an old revision of IDE Development, edited by Mattias2 at . The current revision is 51220.

/* Working */

This page contains notes for lazarus core developers about ongoing development.

Multi form properties / using DataModules from other forms in the designer

Short Description

This feature allows to use components of other designer forms. A common example is to use the TDataSource on a DataModule for the DataSource property of a db control. Designer forms can only reference each other if they have a CreateForm statement in the lpr file (Project Options / Forms).

Working

Manual referencing via source code works.

Some features are only enabled via -dEnableMultiFormProperties (You can set this in Tools -> Configure Build Lazarus dialog -> Options)..

ToDo

Translations, i18n, lrt files, po files

Short Description

This feature automatically creates and updates .po files for packages and projects.

Working

ToDo

Frames

Short Description

Frames are special child forms. The goal is to edit them like forms in the IDE designer, and to use them as components on designer forms.

Working

compile ide with passing -dEnableTFrame

ToDo

UTF-8 Sources

Short Description

The IDE should open sources in various encodings, convert them on the fly during loading to UTF-8 and convert them back on saving. The IDE should help to convert sources of whole projects and packages to UTF-8.

Formerly the IDE only supported one encoding. Under windows this was the windows code page. Under gtk2 it was UTF-8. Now the IDE can edit files with various encodings. (one encoding per file). For instance, the user opens a unit1.pas file created on a german windows. Then the german umlaute will be encoded with the windows code page cp1250. The IDE now "sees", that this is not UTF-8, assumes it is the system encoding and converts it to UTF-8 (only in memory, not on disk), before passing it to SynEdit. Now SynEdit can edit it. When the file is saved, the IDE converts it back to cp1250. This way the file on disk can have the windows system encoding, but all IDE functions only need to support UTF-8.

Working

 {%encoding cp1250}

ToDo

CodeTools Debugging

Short Description

The codetools and its integration in the IDE is a complex part and a bug can create strange side effects, happen sometimes only after a long time and are hard to reproduce. The IDE needs some debugging tools to show the internal structures and run consistency checks.

Working

ToDo

SynEdit: Special Characters

Short Description

Show special characters in SynEdit.

Working

ToDo