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
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 />");
            }
        }
 

✔ ☛ Mr.Freeze ☚

Allez L'om <3
Premium
Inscription
5 Décembre 2013
Messages
4 880
Réactions
2 329
Points
17 333
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:
D

deleted585952

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:
 
Haut