Merge lp:~googol-deactivatedaccount/openlp/editor into lp:~m2j/openlp/editor
Status: | Work in progress |
---|---|
Proposed branch: | lp:~googol-deactivatedaccount/openlp/editor |
Merge into: | lp:~m2j/openlp/editor |
Diff against target: |
356 lines (+128/-36) 6 files modified
core/formattededit.py (+120/-30) core/highlighter.py (+3/-3) core/spellchecker.py (+1/-1) run_songedit.py (+1/-1) sample_song2.txt (+2/-0) songs/lyricsedit.py (+1/-1) |
To merge this branch: | bzr merge lp:~googol-deactivatedaccount/openlp/editor |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Meinert Jordan | Pending | ||
Review via email: mp+150586@code.launchpad.net |
This proposal supersedes a proposal from 2013-02-25.
Description of the change
- Removed code (we require Qt 4.6)
- implemented undo stack
Current problems:
- The {br} tag is saved as ↵ in the stack when we are outside the line it appears (same applies for {p})
Thoughts:
- reimplement self.highlighte
- use blockSignals instead of the skip_undo attribute
Unmerged revisions
- 21. By Andreas Preikschat
-
removed prints and commented code
- 20. By Andreas Preikschat
-
started to implement a method to get the clean text from
- 19. By Andreas Preikschat
-
added example song without tags
- 18. By Andreas Preikschat
-
attempt to fix br/p tag insertion
- 17. By Andreas Preikschat
-
removed methods, removed parameter, fixed highlighting when editing a line
- 16. By Andreas Preikschat
-
more comments
- 15. By Andreas Preikschat
-
fixed cursor position
- 14. By Andreas Preikschat
-
fixed highlighting
- 13. By Andreas Preikschat
-
fixed highlighting
- 12. By Andreas Preikschat
-
reverted change
To see the stack is working (and we are not using the build in one) see this code: http:// pastebin. com/YVHqCszt
Just type in something like "test test {r}asdf" and then press ctrl+z. You will see that the {r} is removed at once.