What steps will reproduce the problem?
1. Use engine.create_abbreviation to create an abbreviation
2. Try to use the new abbreviation
What is the expected output? What do you see instead?
The abbreviation never fires and when you look at it in the UI (and json files)
the abbreviation list is empty
What version of the product are you using? On what operating system?
Tried 0.81.4 and rev 429
Please provide any additional information below.
Created a simple patch that just stores the abbreviation into a new
abbreviations list
===================================================================
--- src/lib/scripting.py (revision 429)
+++ src/lib/scripting.py (working copy)
@@ -837,7 +837,7 @@
self.monitor.suspend()
p = model.Phrase(description, contents)
p.modes.append(model.TriggerMode.ABBREVIATION)
- p.abbreviation = abbr
+ p.abbreviations = [abbr]
folder.add_item(p)
p.persist()
self.monitor.unsuspend()
Original issue reported on code.google.com by LionicSh...@gmail.com on 20 Jan 2012 at 4:29
Original issue reported on code.google.com by
LionicSh...@gmail.com
on 20 Jan 2012 at 4:29Attachments: