SynEdit/fr

From Lazarus wiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Deutsch (de) English (en) español (es) français (fr) 日本語 (ja) polski (pl) русский (ru) 中文(中国大陆)‎ (zh_CN)

SynEdit est un paquet contenant un composant d'édition de sources nommé TSynEdit, plusieurs de mise en valeur de syntaxe et d'autre composants pour l'édition de sources. Il est basé sur SynEdit 1.3, et a été adapté et étendu énormément. Par exemple le support de UTF-8 et le pliage de code ont été ajoutés.

SynEdit dans l'IDE

Dans lazarus, SynEdit est un paquet intégré, parce que l'IDE l'utilise lui-même. C'est pourquoi il y a pas de fichier .lpk. Les composants peuvent être trouvés dans la palette de composants sur l'onglet 'SynEdit'.

Exemples

Un exemple peut être trouvé dans le répertoire lazarus/examples/synedit1.lpi.

Développement ultérieur, discussions

  • RTL (right-to-left): started by Mazen
  • automatic monospace font selection: At the moment SynEdit starts with a font 'courier'. But it would be better, if SynEdit would start with a monospace font (meaning: every character has the same width). At the moment the LCL TFont does not provide such a property. At the moment the user has to choose the right font.
  • automatic UTF-8 font selection: Same as above monospace, but also with an UTF-8 font, so that for example umlaute are shown correctly. At the moment the user has to choose the right font.
  • Dead keys. Most keyboards support typing two or more keys to create one special character (like accented or umlaut characters).
  • Redesign of the SynEdit component. The primary goal is more reliable display and navigation in the text. A more modular approach also allows for better integration of extensions, and for specialized controls, for use outside of Lazarus.