add toggle_emoticon
This commit is contained in:
@@ -40,7 +40,8 @@ class punctuationManager():
|
||||
def proceedPunctuation(self, text, ignorePunctuation=False):
|
||||
resultText = text
|
||||
resultText = self.useCustomDict(resultText, self.env['punctuation']['CUSTOMDICT'])
|
||||
resultText = self.useCustomDict(resultText, self.env['punctuation']['EMOJDICT'])
|
||||
if self.env['runtime']['settingsManager'].getSetting('general', 'emoticons'):
|
||||
resultText = self.useCustomDict(resultText, self.env['punctuation']['EMOJDICT'])
|
||||
currPunctLevel = ''
|
||||
if not ignorePunctuation and self.env['runtime']['settingsManager'].getSetting('general', 'punctuationLevel').lower() in self.env['punctuation']['LEVELDICT']:
|
||||
currPunctLevel = self.env['punctuation']['LEVELDICT'][self.env['runtime']['settingsManager'].getSetting('general', 'punctuationLevel').lower()]
|
||||
|
@@ -44,6 +44,7 @@ settings = {
|
||||
'punctuationProfile':'default',
|
||||
'punctuationLevel': 1,
|
||||
'numberOfClipboards': 10,
|
||||
'emoticons': True,
|
||||
'fenrirKeys': ['KEY_KP0'],
|
||||
'timeFormat': '%I:%M%P',
|
||||
'dateFormat': '%A, %B %d, %Y',
|
||||
|
Reference in New Issue
Block a user