View Single Post
Old 04-20-2020, 10:08 AM   #3
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,872
Karma: 6120478
Join Date: Nov 2009
Device: many
I took a look at QCompleter, Qt's autocompleter class. It turns out the auto-completion via QCompleter really makes little sense for xhtml as it requires the first three letters to be typed.

As most really html tags are quite short (body, html, img, a, p, i, b, sub sup, head, title, hr ... using autocomplete for them really makes no sense when you have to use a keystroke to invoke autocomplete.

That is why I strongly recommend using Sigil's built in editing icons to handle h1-h6, p, i, b, u, and even to create lists of any type. Furthermore, using clips you can create any tag pairs you commonly use and set them up in one of the clips menu to single click insert them. Or even create clips for tag attributes you commonly use ie. class="". You can do the same clips approach to apply commonly used CSS classes set by your your own stylesheet with a single click as well.

So please try setting up clips and learning how to use them to make your editing much more effective.

And as I mentioned above, if you still like your emacs, vim, Kate, Bluefish, xedit, bbedit, notepad++, or whatever editor or ide you prefer, you can set Sigil to use them using "open with" allowing you to easily use your editor of choice within the Sigil program.

Sigil is not in the game of making a better code editor. There are simply too many code editor programs out there already desperate for users that people can choose from.

Hope this explains better Sigil's approach to editing.
KevinH is online now   Reply With Quote