Résolu Je cherche un bon coddeur C# besoin d'aide :'(

BobLeDev

Membre
Inscription
3 Août 2014
Messages
411
Réactions
68
Points
5 326
RGCoins
25
Bonjour, j'ai un problème de code, j'utilise Scintilla .Net et tout aller bien jusqu'a l'AutoComplete.

J'essai d'integrer une liste autocomplete pour du html mais a chaque fois que je tape "a" la liste apparai sinon elle n'apparait pas.

Code :
Code:
Scintilla scintilla = new Scintilla();
scintilla.CharAdded += S_CharAdded;

private void S_CharAdded(object sender, CharAddedEventArgs e)
        {
            var currentPos = scintilla.CurrentPosition;
            var wordStartPos = scintilla.WordStartPosition(currentPos, false);

            // Display the autocompletion list
            var lenEntered = currentPos - wordStartPos;
            if (lenEntered > 0)
            {
                scintilla.AutoCShow(lenEntered, 
                                        "html body a img src href style link head title meta <!doctype />");
            }
        }
 
Bonjour, j'ai un problème de code, j'utilise Scintilla .Net et tout aller bien jusqu'a l'AutoComplete.

J'essai d'integrer une liste autocomplete pour du html mais a chaque fois que je tape "a" la liste apparai sinon elle n'apparait pas.

Code :
Code:
Scintilla scintilla = new Scintilla();
scintilla.CharAdded += S_CharAdded;

private void S_CharAdded(object sender, CharAddedEventArgs e)
        {
            var currentPos = scintilla.CurrentPosition;
            var wordStartPos = scintilla.WordStartPosition(currentPos, false);

            // Display the autocompletion list
            var lenEntered = currentPos - wordStartPos;
            if (lenEntered > 0)
            {
                scintilla.AutoCShow(lenEntered,
                                        "html body a img src href style link head title meta <!doctype />");
            }
        }
@Marent E-S je crois qui-il peux t’aidè :)
 
Dernière édition:
Bonjour, j'ai un problème de code, j'utilise Scintilla .Net et tout aller bien jusqu'a l'AutoComplete.

J'essai d'integrer une liste autocomplete pour du html mais a chaque fois que je tape "a" la liste apparai sinon elle n'apparait pas.

Code :
Code:
Scintilla scintilla = new Scintilla();
scintilla.CharAdded += S_CharAdded;

private void S_CharAdded(object sender, CharAddedEventArgs e)
        {
            var currentPos = scintilla.CurrentPosition;
            var wordStartPos = scintilla.WordStartPosition(currentPos, false);

            // Display the autocompletion list
            var lenEntered = currentPos - wordStartPos;
            if (lenEntered > 0)
            {
                scintilla.AutoCShow(lenEntered,
                                        "html body a img src href style link head title meta <!doctype />");
            }
        }
rien piger mais essaye >= :XD:
 
Retour
Haut