Bonjour,

Je suis développeur web et depuis que je travail, j'ai toujours été sous gEdit.
En ayant un peu marre malgré avoir rajouté des greffons, j'ai cherché un peu et j'ai trouvé geany.

Il me plait bien sauf les couleurs flashy... J'ai donc voulu reproduire le thème cobalt de gEdit sous Geany.
Et j'y suis pratiquement arrivé...

Sauf une chose sans laquelle je ne peux toujours pas l'utiliser : la couleur de fond de la ligne courante...

J'ai lu la documentation de geany ici : doc
J'ai testé current_line mais cela ne fonctionne pas.

Quelqu'un pourrait-il m'aider pour terminer de configurer les couleurs syntaxiques?

PS : Pour ceux qui le souhaite, je pourrait mettre mon fichier à disposition si cela les intéresse.

Merci d'avance!!!
Sinon tu as SciTE, il gère beaucoup de langages, configurable à souhait (bon faut mettre les pattes dans les fichiers de conf texte).
Au vu du screenshot vu sur http://www.scintilla.org/SciTEImage.html

Cela ne me plait déjà pas, pas de barre latérale ni de barre d'outils.
Si tu l'utilises, peux-tu mettre un screenshot à toi pour voir si on peut en mettre ou non?

Merci.
Quels langages, quels frameworks utilises tu ?
langage PHP 5 sans framework, HTML, CSS, MySQL

J'ai vraiment envie d'utiliser Geany :
- "repli" de code
- Auto complétion
- Indentation automatique
- Complétion des parenthèses, crochets,...
- Terminal intégré

Pour gEdit, j'ai pris l'habitude d'utiliser le thème cobalt, ça me permet de ne pas trop avoir mal aux yeux car le fond est sombre et je n'ai pas envie de retourner sur un fond blanc...
Après si vous trouvez autre chose, je suis ouverte à toutes propositions, du moment que j'ai les 4 premiers points de mes exigences et que je code sur un fond plutôt sombre...

Est-ce trop exigent de ma part? :-? ...


[EDIT]

J'ai trouvé : dans Geany, il suffit de cliquer sur Outils > Fichier de configuration > filetypes.common
Et c'est dans ce fichier texte qu'il faut modifier la ligne concernant "current_ligne"...

Voilà!!

Je vais fignloer tous ça et le mettre à disposition au cas où certains le voudrait!
Moi j'utilise Netbeans. c'est un IDE qui gère le php (avec gestion des erreurs syntaxiques)
Je connais NetBeans, j'aurais aimé l'utiliser mais je ne peux pas... Projet trop long à scanner, ou trop grand ou PC du bureau pas assez puissant...

Je pense avoir trouvé mon bonheur vu que j'ai pu faire la modif dans geany...
Un peu en retard mais voila le screen shot :


Après y a une quantité de fonctions que je connais pas du tout mais il est efficace. (Bon j'ai un petit soucis pour les caractères accentués, mais bon j'ai la flème de le résoudre :-P )
J'ai terminé ma config de geany...

Voici le contenu du fichier filetypes.xml situé dans ~/.config/geany/filedefs/ et commenté
# For complete documentation of this file, please see Geany's main documentation
[styling]
# foreground;background;bold;italic
# ************************************************************** HTML ***********************************
# texte
html_default=0xfafbfb;0x001b33;false;false

# balise <h2></h2>
html_tag=0x78f2b3;0x001b33;false;false

# balise non reconnu
html_tagunknown=0x78f2b3;0x001b33;false;false

# propriete ; <a href=""
html_attribute=0xcccccc;0x001b33;false;false

# propriete non reconnu
html_attributeunknown=0xcccccc;0x001b33;false;false

# nombre en tant que valeur d'une propriété
html_number=0x000ab3;0x001b33;false;false

# string quoté double
html_doublestring=0x3ad900;0x001b33;false;false

# string quoté simple
html_singlestring=0x3ad900;0x001b33;false;false

# non-exhaustif => xml:lang , = , ...
html_other=0xcccccc;0x001b33;false;false

# commentaire html
html_comment=0x0088FF;0x001b33;false;false

# code caractère html ; é
html_entity=0x000ab3;0x001b33;false;false

# fin des balises simples ; <br />
html_tagend=0x78f2b3;0x001b33;false;false

# <?
html_xmlstart=0xfafbfb;0xf0f0f0;false;false

# ?>
html_xmlend=0xfafbfb;0xf0f0f0;false;false

# <script
html_script=0x000000;0xffffff;false;false
# <% ... %>
html_asp=0x000000;0xffffff;false;false
# <%@ ... %>
html_aspat=0xFFA500;0x001b33;false;false
html_cdata=0xFFA500;0x001b33;false;false

# Pour les balises ouvrante et fermante de php
html_question=0xFFA500;0x001b33;true;false

html_value=0xFFA500;0x001b33;false;false
html_xccomment=0xFFA500;0x001b33;false;false

# ************************************************************** DOCTYPE **********************************
sgml_default=0xcccccc;0x001b33;false;false
sgml_comment=0xcccccc;0x001b33;false;false
sgml_special=0xcccccc;0x001b33;false;false
sgml_command=0xcccccc;0x001b33;false;false
sgml_doublestring=0x3ad900;0x001b33;false;false
sgml_simplestring=0x3ad900;0x001b33;false;false
sgml_1st_param=0xcccccc;0x001b33;false;false
sgml_entity=0xcccccc;0x001b33;false;false
sgml_block_default=0xcccccc;0x001b33;false;false
sgml_1st_param_comment=0xcccccc;0x001b33;false;false
sgml_error=0xcccccc;0x001b33;false;false

# ************************************************************** PHP **************************************
#  fonctions ; print_r()
php_default=0xfafbfb;0x001b33;false;false

# string quoté simple ; echo 'Blablabla';
php_simplestring=0x3ad900;0x001b33;false;false

# string quoté double ; echo "blabla";
php_hstring=0x3ad900;0x001b33;false;false

# nombre
php_number=0xc10740;0x001b33;false;false

# mots-clés ; if else echo while foreach
php_word=0xe99204;0x001b33;true;false

# variable
php_variable=0xb3b6b9;0x001b33;false;false

# commentaire multiligne ; /* blabla */
php_comment=0x0088FF;0x001b33;false;false

# commentaire monoligne ; // blabla
php_commentline=0x0088FF;0x001b33;false;false

# comparateur < >
php_operator=0xba7a0e;0x001b33;false;false

# variable quoté double ; echo "Ton nom est $nom";
php_hstring_variable=0xba7a0e;0x001b33;false;false

# Aucune idee
php_complex_variable=0xba7a0e;0x001b33;false;false

# ****************************************************************** JAVASCRIPT ***********************************
# used for JavaScript, ASP Javascript, VBScript
jscript_start=0xffffff;0x001b33;false;false
jscript_default=0xffffff;0x001b33;false;false
jscript_comment=0x0088FF;0x001b33;false;false
jscript_commentline=0x0088FF;0x001b33;false;false
jscript_commentdoc=0x0088FF;0x001b33;true;false
jscript_number=0xA52A2A;0x001b33;false;false
jscript_word=0xffffff;0x001b33;false;false
jscript_keyword=0xe99204;0x001b33;true;false
jscript_doublestring=0x3ad900;0x001b33;false;false
jscript_singlestring=0x3ad900;0x001b33;false;false
# same as operators
jscript_symbols=0xffffff;0x001b33;false;false
jscript_stringeol=0xffffff;0xe0c0e0;false;false
jscript_regex=0xffffff;0x001b33;false;false

# for embedded Python script (<script language="python">...</script>), Python styles from
# filetypes.python are used

[keywords]
html=a abbr acronym address applet area b base basefont bdo big blockquote body br button caption center cite code col colgroup dd del dfn dir div dl dt em embed fieldset font form frame frameset h1 h2 h3 h4 h5 h6 head hr html i iframe img input ins isindex kbd label legend li link map menu meta noframes noscript object ol optgroup option p param pre q quality s samp script select small span strike strong style sub sup table tbody td textarea tfoot th thead title tr tt u ul var xmlns leftmargin topmargin abbr accept-charset accept accesskey action align alink alt archive axis background bgcolor border cellpadding cellspacing char charoff charset checked cite class classid clear codebase codetype color cols colspan compact content coords data datafld dataformatas datapagesize datasrc datetime declare defer dir disabled enctype face for frame frameborder selected headers height href hreflang hspace http-equiv id ismap label lang language link longdesc marginwidth marginheight maxlength media framespacing method multiple name nohref noresize noshade nowrap object onblur onchange onclick ondblclick onfocus onkeydown onkeypress onkeyup onload onmousedown onmousemove onmouseover onmouseout onmouseup onreset onselect onsubmit onunload profile prompt pluginspage readonly rel rev rows rowspan rules scheme scope scrolling shape size span src standby start style summary tabindex target text title type usemap valign value valuetype version vlink vspace width text password checkbox radio submit reset file hidden image public doctype xml xml:lang
javascript=abs abstract acos anchor asin atan atan2 big bold boolean break byte case catch ceil char charAt charCodeAt class concat const continue cos Date debugger default delete do double else enum escape eval exp export extends false final finally fixed float floor fontcolor fontsize for fromCharCode function goto if implements import in indexOf Infinity instanceof int interface isFinite isNaN italics join lastIndexOf length link log long Math max MAX_VALUE min MIN_VALUE NaN native NEGATIVE_INFINITY new null Number package parseFloat parseInt pop POSITIVE_INFINITY pow private protected public push random return reverse round shift short sin slice small sort splice split sqrt static strike string String sub substr substring sup super switch synchronized tan this throw throws toLowerCase toString toUpperCase transient true try typeof undefined unescape unshift valueOf var void volatile while with
vbscript=and as boolean byref byte byval call case class const continue currency date dim do double each else elseif empty end error exit false for function get global goto if in integer long loop me new next not nothing object on optional or private property public put redim rem resume select set single string sub then to true type until variant wend while with
python=and assert break class continue complex def del elif else except exec finally for from global if import in inherit is int lambda not or pass print raise return tuple try unicode while yield long float str list
php=abstract and array as bool boolean break case catch cfunction __class__ class clone const continue declare default die __dir__ directory do double echo else elseif empty enddeclare endfor endforeach endif endswitch endwhile eval exception exit extends false __file__ final float for foreach __function__ function goto global if implements include include_once int integer interface isset __line__ list __method__ namespace __namespace__ new null object old_function or parent php_user_filter print private protected public real require require_once resource return __sleep static stdclass string switch this throw true try unset use var __wakeup while xor
sgml=ELEMENT DOCTYPE ATTLIST ENTITY NOTATION


[settings]
# default extension used when saving files
#extension=xml

# the following characters are these which a "word" can contains, see documentation
#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789

# if only single comment char is supported like # in this file, leave comment_close blank
comment_open=<!--
comment_close=-->

# set to false if a comment character/string should start at column 0 of a line, true uses any
# indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
    #command_example();
# setting to false would generate this
#    command_example();
# This setting works only for single line comments
comment_use_indent=true

# context action command (please see Geany's main documentation for details)
context_action_cmd=
Et aussi le contenu du fichier filetypes.common :
# For complete documentation of this file, please see Geany's main documentation
[styling]
# use foreground;background;bold;italic or named_style,bold,italic

# used for filetype All/None
default=default

# 3rd selection argument is true to override default foreground
# 4th selection argument is true to override default background
# Style de selection d'un texte
selection=0xffffff;0x0088FF;true;true

# style for a matching brace
# Style des acolades, parenthèses lorsque celle ci matche avec ce même symbole fermant
brace_good=0x000000;0xffffff;false;false

# Style des acolades, parenthèses lorsque celle ci ne matche pas un même symbole fermant
# style for a non-matching brace (a brace without a counterpart)
brace_bad=0xD21C1C;0xffffff;true;false

# the following settings define the colours of the margins on the left side
# Style de la marge de gauche avec les numeros de ligne
margin_linenumber=0x000000;0xd0d0d0;false;false
# Style de la marge à droite de la marge de gauche, apres les numeros de ligne
margin_folding=0x000000;0xdfdfdf;false;false

# background colour of the current line, only the second and third argument is interpreted
# use the third argument to enable or disable the highlighting of the current line (has to be true/false)
# Style de la ligne courante
current_line=0x000000;0x003B70;true;false

# translucency for the current line(first argument) and the selection (second argument)
# values between 0 and 256 are accepted. Note for Windows 95, 98 and ME users:
# keep this value at 256 to disable translucency otherwise Geany might crash
# only the first and second argument is interpreted
# Transparence de la ligne courant et transparence de la selection
translucency=256;256;false;false

# style for a highlighted line (e.g when using Goto line or goto tag)
# only the first and second argument is interpreted
marker_line=0x000000;0xffff00;false;false

# style for a marked search results (when using "Mark" in Search dialogs)
# the second argument sets the background colour for the drawn rectangle
# only the second argument is interpreted
marker_search=0x000000;0x0000f0;false;false

# style for a marked line (e.g when using the "Toggle Marker" keybinding (Ctrl-M))
# only the first and second argument is interpreted
marker_mark=0x000000;0xb8f4b8;false;false

# translucency for the line marker(first argument) and the search marker (second argument)
# only the first and second argument is interpreted
marker_translucency=256;256;false;false

# colour of the caret(the blinking cursor), only first and third argument is interpreted
# set the third argument to true to change the caret into a block caret
# Couleur du curseur de la souris
caret=0xffffff;0x000000;false;false

# width of the caret(the blinking cursor), only first argument is interpreted
# width in pixels, use 0 to make it invisible, maximum width is 3
caret_width=1;0;false;false

# set foreground and background colour of indentation guides
# Ligne verticale montrant l'indentation, pointillés entre le premier arugment et le deuxième argument
indent_guide=0x000000;0x7F7F7F;false;false

# third argument: if true, use this foreground color. If false, use the default value defined by the filetypes.
# fourth argument: if true, use this background color. If false, use the default value defined by the filetypes.
white_space=0xc0c0c0;0xffffff;true;false

# style of folding icons, only first and second arguments are used, valid values are:
# first argument:  1 for boxes, 2 for circles
# second argument: 1 for straight lines, 2 for curved lines
folding_style=1;1;false;false

# should an horizontal line be drawn at the line where text is folded (only first argument is interpreted)
# 0 to disable
# 1 to draw the line above folded text
# 2 to draw the line below folded text
folding_horiz_line=2;0;false;false

# only first and second argument is interpreted
# first argument: drawing of visual flags to indicate a line is wrapped. This is a bitmask of the
# values: 0 - No visual flags, 1 - Visual flag at end of subline of a wrapped line, 2 - Visual flag
# at begin of subline of a wrapped line, Subline is indented by at least 1 to make room for the flag.
# second argument: wether the visual flags to indicate a line is wrapped are drawn near the border
# or near the text. This is a bitmask of the values: 0 - Visual flags drawn near border,
# 1 - Visual flag at end of subline drawn near text, 2 - Visual flag at begin of subline drawn near text
line_wrap_visuals=3;0;false;false

# only first and second argument is interpreted
# first argument: sets the size of indentation of sublines for wrapped lines in terms of
# the width of a space, only used when the second argument is 0
# second argument: wrapped sublines can be indented to the position of their first subline or
# one more indent level, possible values:
# 0 - Wrapped sublines aligned to left of window plus amount set by the first argument
# 1 - Wrapped sublines are aligned to first subline indent (use the same indentation)
# 2 - Wrapped sublines are aligned to first subline indent plus one more level of indentation
line_wrap_indent=0;1;false;false

# only first and second argument is interpreted
# first argument: amount of space to be drawn above the line's baseline
# second argument: amount of space to be drawn below the line's baseline
line_height=0;0;false;false

[settings]
# which characters should be skipped when moving (or included when deleting) to word boundaries
# should always include space and tab (\s\t)
whitespace_chars=\s\t!\"#$%&'()*+,-./:;<=>?@[\\]^`{|}~

[named_styles]
# style names to use in filetypes.* [styling] sections
# use foreground;background;bold;italic
# normally background should be left blank to use the "default" style

default=0x000000;0xffffff;false;false
comment=0xd00000
commentdoc=0x3f5fbf
number=0x007f00
# keyword
word=0xFFA500;;true;false
# e.g. global types from a *.c.tags file
word2=0x991111;;true;false
string=0xff901e
preprocessor=0x007f7f
operator=0x301010
# unterminated string
stringeol=0x000000;0xe0c0e0;false;false
type=0x0000d0;;true;false