mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-03 04:22:31 +12:00
Minor corrections
This commit is contained in:
parent
dbce20c5f7
commit
7c8760f196
3
TODO.t2t
3
TODO.t2t
|
@ -3,4 +3,5 @@
|
|||
Features
|
||||
- Coach (entrer le nombre de mot viser, se fixer des objectifs quotidiens / hebdomadaires (en temps, ou en mots, min ou max), faire des statistiques)
|
||||
- Différents modes: simple (que le outliner / rédacteur), snowflake strict (cache les éléments tant que le précédent n'a pas été accompli), snowflake souple (tout est affiché mais permet de naviger, avec conseils)
|
||||
- Boîte à sable: endroit pour expérimenter, des scenes particulières ou des perso en situations spéciales. Avec suggestions de thèmes / lieux / ...
|
||||
- Boîte à sable: endroit pour expérimenter, des scenes particulières ou des perso en situations spéciales. Avec suggestions de thèmes / lieux / ...
|
||||
- Distraction free: custom widget for that, with special features: customization, but also: locking (and unlocked after a certain number of words typed, or after a certain time; be sure to mask also all other screens), internet blocking for a time, etc.
|
|
@ -21,6 +21,7 @@ class customTextEdit(QTextEdit):
|
|||
self.item = None
|
||||
self.spellcheck = spellcheck
|
||||
self.currentDict = dict
|
||||
self.highlighter = None
|
||||
|
||||
if index:
|
||||
self.setCurrentModelIndex(index)
|
||||
|
@ -49,7 +50,8 @@ class customTextEdit(QTextEdit):
|
|||
self.highlightWord = ""
|
||||
self.highligtCS = False
|
||||
|
||||
self.highlighter = t2tHighlighter(self)
|
||||
if not self.highlighter:
|
||||
self.highlighter = t2tHighlighter(self)
|
||||
|
||||
# Spellchecking
|
||||
if enchant and self.spellcheck:
|
||||
|
|
Loading…
Reference in a new issue