Commit Graph
28 Commits
Author SHA1 Message Date
Aditya Bhatt c0cb57dd0c Restore the previously selected style after refreshing the list, in the
generic paragraph styles selector
2013-02-02 01:11:24 +05:30
Aditya Bhatt 8acb6c90f9 Make all paragraph style selectors auto-update when styles are changed
in the document
2013-02-02 00:23:01 +05:30
Aditya Bhatt 776a5d3834 Remove style sniffing and setting ability from paragraphStyles widget 2013-01-30 19:16:43 +05:30
Aditya Bhatt 01634286bc Linted everything in editor/ 2012-12-28 12:05:06 +01:00
Tobias Hintze f2667f043f cleanup, whitespace, and cosmetics 2012-12-03 16:56:04 +01:00
Tobias Hintze 20accd4fd2 apply AMD pattern to programs/editor
* allows use either in src or in build dir (cdn-index.html / index.html)
* creates dojo-amalgamation.js which includes selected languages
2012-12-03 16:24:08 +01:00
Aditya Bhatt 71656d78d4 Remove all instances and usages of session, documentObject, and memberId from all editor components. Obsolte after using EditorSession
(Tobias Hintze <th-git@kogmbh.com>:
 manually resolved conflict in editor.js during cherry-pick)
2012-11-30 13:22:31 +01:00
Aditya Bhatt 23bda39b14 Trash all the old code that talked to webodf, and use the new EditorSession API. Code is reduced! 2012-11-30 13:06:38 +01:00
Friedrich W. H. Kossebau 549dd93381 Turn setting the style of a paragraph into an operation (dirty initial hack) 2012-11-09 12:24:35 +01:00
Friedrich W. H. Kossebau 677c436ceb Setting attribute "usercolor" on changed paragraphs no longer needed 2012-11-09 12:23:21 +01:00
Friedrich W. H. Kossebau 9985bb5a12 Fix paragraphstyle selector to only show named styles for a paragraph
Also use "___" as separator because the memberId is used directly in CSS
2012-11-09 12:23:12 +01:00
Friedrich W. H. Kossebau 51570c2838 Unbreak styles combobox in programs/editor
Also
* emit signal for cursor move again
* turn signal names into string objects
* makes Session and Document take odfCanvas instead of just odfContainer
2012-11-09 12:21:08 +01:00
Aditya Bhatt f39db20f7f Remove log 2012-10-23 12:55:15 +02:00
Aditya Bhatt 7b0261ea00 True user tracking involves both cursor and focus tracking. Add avatarActivated event and use it in the paragraphStyles selector, so that when you click on another avatar, it's paragraph is selected 2012-10-23 12:32:26 +02:00
Aditya Bhatt 397ac61d78 Have awesome animated paragraph highlight for edited paragraphs 2012-10-23 12:10:05 +02:00
Aditya Bhatt 8f37417536 Use Avatar's actual positioning instead of the mouse click to determine the place / paragraph being edited. Now the paragraph style selector will keep track of the current paragraph even when the avatar moves with the cursor 2012-10-22 16:35:50 +02:00
Aditya Bhatt 2411c05683 if there is no paragraph where we clicked, return handler 2012-10-22 11:33:44 +02:00
Tobias Hintze 22b155f103 editor: move creation of "changed"-event from html to editor.js 2012-10-22 10:25:54 +02:00
Tobias Hintze 375457d233 update license and copyright headers 2012-10-21 20:46:20 +02:00
Aditya Bhatt 44f55e74ed make avatar balloons move when document content is changed 2012-10-05 16:55:06 +05:30
Aditya Bhatt e5236f9779 remove logging 2012-10-04 17:14:20 +05:30
Aditya Bhatt 6cbb94df74 bind paragraph selector 2012-10-03 19:46:41 +05:30
Aditya Bhatt 51e044a3c6 log selection to console, doesn't work yet 2012-08-22 13:04:19 +05:30
Aditya Bhatt 55be3b693c We don't need to load the odf.Formatting class separately into document. The Formatting of the document is already available through OdfCanvas.getFormatting(). Refactored. 2012-08-22 10:33:40 +05:30
Aditya Bhatt bed487f364 fix height and width of selector 2012-08-21 19:30:01 +05:30
Jos van den Oever 7c5416a66b Fix some errors reported by JSLint. 2012-08-20 10:18:17 +02:00
Aditya Bhatt 46fc4c4c16 Create a widgets.ParagraphStyles class, and use it inside editor/widgets.js to load a Paragraph Style selector, which gives a list of all available styles. 2012-08-18 03:55:51 +05:30
Aditya Bhatt 06b5139139 add a paragraph style retriever method in lib/odf/Formatting.js and a selector menu in the editor program 2012-08-14 13:57:58 +05:30