erp_app 3.1.16 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -5
- data/app/controllers/erp_app/desktop/configuration_management/base_controller.rb +2 -2
- data/app/controllers/erp_app/desktop/configuration_management/options_controller.rb +14 -14
- data/app/controllers/erp_app/desktop/configuration_management/types_controller.rb +3 -3
- data/app/controllers/erp_app/desktop/control_panel/application_management_controller.rb +2 -2
- data/app/controllers/erp_app/desktop/file_manager/base_controller.rb +1 -1
- data/app/controllers/erp_app/desktop/job_tracker/base_controller.rb +5 -6
- data/app/controllers/erp_app/desktop/security_management/base_controller.rb +7 -7
- data/app/controllers/erp_app/desktop/security_management/capabilities_controller.rb +37 -42
- data/app/controllers/erp_app/desktop/security_management/groups_controller.rb +70 -75
- data/app/controllers/erp_app/desktop/security_management/roles_controller.rb +63 -68
- data/app/controllers/erp_app/desktop/security_management/users_controller.rb +45 -50
- data/app/controllers/erp_app/login_controller.rb +20 -11
- data/app/controllers/erp_app/mobile/user_management/base_controller.rb +4 -5
- data/app/controllers/erp_app/organizer/application_management_controller.rb +47 -0
- data/app/controllers/erp_app/organizer/crm/contact_mechanisms_controller.rb +150 -0
- data/app/controllers/erp_app/organizer/crm/parties_controller.rb +326 -0
- data/app/controllers/erp_app/organizer/crm/relationship_controller.rb +28 -30
- data/app/controllers/erp_app/organizer/crm/users_controller.rb +250 -0
- data/app/controllers/erp_app/public_controller.rb +9 -2
- data/app/controllers/erp_app/shared/audit_log_controller.rb +68 -0
- data/app/controllers/erp_app/shared/configuration_controller.rb +3 -3
- data/app/controllers/erp_app/shared/notes_controller.rb +50 -40
- data/app/controllers/erp_app/widget_proxy_controller.rb +6 -4
- data/app/models/application.rb +8 -2
- data/app/models/configuration.rb +46 -24
- data/app/models/configuration_item.rb +8 -0
- data/app/models/desktop.rb +0 -14
- data/app/models/organizer.rb +0 -14
- data/app/models/widget.rb +0 -3
- data/app/views/erp_app/desktop/base/index.erb +28 -35
- data/app/views/erp_app/login/index.erb +5 -2
- data/app/views/erp_app/organizer/base/index.erb +22 -17
- data/app/views/erp_app/organizer/crm/parties/details.erb +89 -0
- data/app/views/erp_app/pixlr/close.erb +5 -0
- data/config/routes.rb +74 -42
- data/db/data_migrations/20130703181549_create_tail_desktop_application.rb +4 -7
- data/db/data_migrations/20131102171801_add_customer_role_type.rb +11 -0
- data/db/data_migrations/20131108191057_add_customer_employee_reln.rb +26 -0
- data/db/data_migrations/20140122205941_remove_theme_preference.rb +21 -0
- data/db/migrate/20131112013049_add_erp_app_missing_indexes.rb +31 -0
- data/db/migrate/20131129205550_add_precedence_to_configuration_item_types.rb +7 -0
- data/lib/active_ext/active_ext.rb +1 -1
- data/lib/active_ext/ext_helpers/field_builder.rb +140 -140
- data/lib/erp_app/application_resource_loader/desktop_organizer_loader.rb +1 -2
- data/lib/erp_app/engine.rb +0 -5
- data/lib/erp_app/extensions/active_record/has_user_preferences.rb +70 -69
- data/lib/erp_app/extensions/railties/action_view/helpers/include_helper.rb +29 -27
- data/lib/erp_app/version.rb +7 -3
- data/lib/erp_app/widgets/base.rb +21 -4
- data/lib/erp_app/widgets/loader.rb +2 -2
- data/lib/erp_app.rb +1 -0
- data/lib/generators/cms_widget/USAGE +0 -6
- data/lib/generators/cms_widget/templates/javascript/base.js.erb +1 -1
- data/lib/generators/desktop_application/templates/migrate/migration_template.erb +4 -6
- data/lib/generators/organizer_application/templates/controllers/controller_template.erb +1 -2
- data/lib/generators/organizer_application/templates/public/base.js.erb +21 -25
- data/public/images/art/compass-ae-logo-reverse-1.png +0 -0
- data/public/images/btn/save/save_16x16.png +0 -0
- data/public/images/btn/save_all/save_all_16x16.png +0 -0
- data/public/images/btn_light/add/add_16x16.png +0 -0
- data/public/images/btn_light/left_panel/left_panel_16x16.png +0 -0
- data/public/images/btn_light/left_right_panel/left_right_panel_16x16.png +0 -0
- data/public/images/btn_light/right_panel/right_panel_16x16.png +0 -0
- data/public/images/btn_light/save/save_16x16.png +0 -0
- data/public/images/btn_light/save_all/save_all_16x16.png +0 -0
- data/public/images/erp_app/desktop/applications/security_management/manage_capabilities.png +0 -0
- data/public/images/erp_app/desktop/applications/security_management/manage_groups.png +0 -0
- data/public/images/erp_app/desktop/applications/security_management/manage_roles.png +0 -0
- data/public/images/erp_app/desktop/applications/security_management/manage_users.png +0 -0
- data/public/images/erp_app/desktop/compass_logo_start_icon.png +0 -0
- data/public/images/erp_app/organizer/applications/crm/business.png +0 -0
- data/public/images/erp_app/organizer/applications/crm/business_64x64.png +0 -0
- data/public/images/erp_app/organizer/applications/crm/customer-contact.png +0 -0
- data/public/images/erp_app/organizer/applications/crm/customer_360_64x64.png +0 -0
- data/public/images/erp_app/organizer/applications/crm/people.png +0 -0
- data/public/images/erp_app/organizer/applications/crm/person.png +0 -0
- data/public/images/erp_app/organizer/applications/crm/toolbar_find.png +0 -0
- data/public/images/erp_app/organizer/applications/crm/vcard.png +0 -0
- data/public/images/icons/add/add_16x16.png +0 -0
- data/public/images/icons/add/add_light_16x16.png +0 -0
- data/public/images/icons/arrow_left_blue/arrow_left_blue_16x16.png +0 -0
- data/public/images/icons/arrow_left_blue/arrow_left_blue_32x32.png +0 -0
- data/public/images/icons/arrow_left_blue/arrow_left_blue_48x48.png +0 -0
- data/public/images/icons/arrow_right_blue/arrow_right_blue_16x16.png +0 -0
- data/public/images/icons/arrow_right_blue/arrow_right_blue_32x32.png +0 -0
- data/public/images/icons/arrow_right_blue/arrow_right_blue_48x48.png +0 -0
- data/public/images/icons/article/article_16x16.png +0 -0
- data/public/images/icons/blog/blog_16x16.png +0 -0
- data/public/images/icons/blog/blog_24x24.png +0 -0
- data/public/images/icons/blog/blog_32x32.png +0 -0
- data/public/images/icons/blog/blog_48x48.png +0 -0
- data/public/images/icons/book/book_16x16.png +0 -0
- data/public/images/icons/calendar/calendar_16x16.png +0 -0
- data/public/images/icons/calendar/calendar_64x64.png +0 -0
- data/public/images/icons/calendar/calendar_light_16x16.png +0 -0
- data/public/images/icons/code/code_16x16.png +0 -0
- data/public/images/icons/console/console_16x16.png +0 -0
- data/public/images/icons/console/console_64x64.png +0 -0
- data/public/images/icons/contact-us/contact-us_48x48.png +0 -0
- data/public/images/icons/content/content_16x16.png +0 -0
- data/public/images/icons/control_panel/control_panel_16x16.png +0 -0
- data/public/images/icons/control_panel/control_panel_48x48.png +0 -0
- data/public/images/icons/control_panel/control_panel_64x64.png +0 -0
- data/public/images/icons/copy/copy_16x16.png +0 -0
- data/public/images/icons/creditcards/creditcards_16x16.png +0 -0
- data/public/images/icons/creditcards/creditcards_24x24.png +0 -0
- data/public/images/icons/creditcards/creditcards_32x32.png +0 -0
- data/public/images/icons/creditcards/creditcards_48x48.png +0 -0
- data/public/images/icons/creditcards/creditcards_64x64.png +0 -0
- data/public/images/icons/crm/crm_16x16.png +0 -0
- data/public/images/icons/crm/crm_light_16x16.png +0 -0
- data/public/images/icons/csr/csr_16x16.png +0 -0
- data/public/images/icons/csr/csr_256x256.png +0 -0
- data/public/images/icons/csr/csr_500x500.png +0 -0
- data/public/images/icons/data/data_16x16.png +0 -0
- data/public/images/icons/data/data_64x64.png +0 -0
- data/public/images/icons/database/database_16x16.png +0 -0
- data/public/images/icons/database_column/database_column_16x16.png +0 -0
- data/public/images/icons/db_edit_data/db_edit_data_16x16.png +0 -0
- data/public/images/icons/db_table/db_table_16x16.png +0 -0
- data/public/images/icons/delete/delete_16x16.png +0 -0
- data/public/images/icons/doc_settings/doc_settings_16x16.png +0 -0
- data/public/images/icons/document/document_16x16.png +0 -0
- data/public/images/icons/document_lock/document_lock_16x16.png +0 -0
- data/public/images/icons/document_pulse/document_pulse_64x64.png +0 -0
- data/public/images/icons/edit/edit_16x16.png +0 -0
- data/public/images/icons/exit/exit_16x16.png +0 -0
- data/public/images/icons/eye/eye_16x16.png +0 -0
- data/public/images/icons/eye/eye_24x24.png +0 -0
- data/public/images/icons/eye/eye_32x32.png +0 -0
- data/public/images/icons/eye/eye_48x48.png +0 -0
- data/public/images/icons/fieldtypes/business_party.png +0 -0
- data/public/images/icons/fieldtypes/check.png +0 -0
- data/public/images/icons/fieldtypes/date.png +0 -0
- data/public/images/icons/fieldtypes/display.png +0 -0
- data/public/images/icons/fieldtypes/email.png +0 -0
- data/public/images/icons/fieldtypes/file.png +0 -0
- data/public/images/icons/fieldtypes/file_assets.png +0 -0
- data/public/images/icons/fieldtypes/image.png +0 -0
- data/public/images/icons/fieldtypes/money.png +0 -0
- data/public/images/icons/fieldtypes/number.png +0 -0
- data/public/images/icons/fieldtypes/password.png +0 -0
- data/public/images/icons/fieldtypes/question.png +0 -0
- data/public/images/icons/fieldtypes/radio.png +0 -0
- data/public/images/icons/fieldtypes/select.png +0 -0
- data/public/images/icons/fieldtypes/text.png +0 -0
- data/public/images/icons/fieldtypes/text.psd +0 -0
- data/public/images/icons/fieldtypes/text_area.png +0 -0
- data/public/images/icons/fieldtypes/time.png +0 -0
- data/public/images/icons/fieldtypes/yes_no.png +0 -0
- data/public/images/icons/file_manager/file_manager_16x16.png +0 -0
- data/public/images/icons/file_manager/file_manager_light_16x16.png +0 -0
- data/public/images/icons/folders/folders_64x64.png +0 -0
- data/public/images/icons/footprints/footprints_16x16.png +0 -0
- data/public/images/icons/footprints/footprints_light_16x16.png +0 -0
- data/public/images/icons/form/form_16x16.png +0 -0
- data/public/images/icons/form/form_light_16x16.png +0 -0
- data/public/images/icons/gantt/gantt_24x24.png +0 -0
- data/public/images/icons/gear/gear_16x16.png +0 -0
- data/public/images/icons/gear/gear_light_16x16.png +0 -0
- data/public/images/icons/globe/globe_16x16.png +0 -0
- data/public/images/icons/globe/globe_64x64.png +0 -0
- data/public/images/icons/globe/globe_light_16x16.png +0 -0
- data/public/images/icons/google-map/google-map_48x48.png +0 -0
- data/public/images/icons/grid/grid_16x16.png +0 -0
- data/public/images/icons/grid/grid_64x64.png +0 -0
- data/public/images/icons/hierarchy/hierarchy_16x16.png +0 -0
- data/public/images/icons/history/history_16x16.png +0 -0
- data/public/images/icons/history/history_64x64.png +0 -0
- data/public/images/icons/history/history_light_16x16.png +0 -0
- data/public/images/icons/home/home_16x16.png +0 -0
- data/public/images/icons/home/home_48x48.png +0 -0
- data/public/images/icons/ia/ia_16x16.png +0 -0
- data/public/images/icons/information/information_16x16.png +0 -0
- data/public/images/icons/invoicing/invoicing_48x48.png +0 -0
- data/public/images/icons/invoicing/invoicing_64x64.png +0 -0
- data/public/images/icons/key/key_16x16.png +0 -0
- data/public/images/icons/key/key_64x64.png +0 -0
- data/public/images/icons/knitkit/knitkit_16x16.png +0 -0
- data/public/images/icons/knitkit/knitkit_48x48.png +0 -0
- data/public/images/icons/knitkit/knitkit_light_16x16.png +0 -0
- data/public/images/icons/login/login_48x48.png +0 -0
- data/public/images/icons/magnifying-glass/magnifying-glass_48x48.png +0 -0
- data/public/images/icons/mail/mail_16x16.png +0 -0
- data/public/images/icons/mail/mail_24x24.png +0 -0
- data/public/images/icons/mail/mail_32x32.png +0 -0
- data/public/images/icons/mail/mail_48x48.png +0 -0
- data/public/images/icons/manage-profile/manage-profile_48x48.png +0 -0
- data/public/images/icons/menu/menu_16x16.png +0 -0
- data/public/images/icons/ordered_list/ordered_list_16x16.png +0 -0
- data/public/images/icons/package/package_16x16.png +0 -0
- data/public/images/icons/package/package_64x64.png +0 -0
- data/public/images/icons/package/package_light_16x16.png +0 -0
- data/public/images/icons/palette/palette_64x64.png +0 -0
- data/public/images/icons/person/person_16x16.png +0 -0
- data/public/images/icons/phone/phone_16x16.png +0 -0
- data/public/images/icons/phone/phone_64x64.png +0 -0
- data/public/images/icons/picture/picture_16x16.png +0 -0
- data/public/images/icons/play/play_16x16.png +0 -0
- data/public/images/icons/product/product_16x16.png +0 -0
- data/public/images/icons/product/product_64x64.png +0 -0
- data/public/images/icons/product/product_light_16x16.png +0 -0
- data/public/images/icons/query/query_16x16.png +0 -0
- data/public/images/icons/redo/redo_16x16.png +0 -0
- data/public/images/icons/refresh/refresh_16x16.png +0 -0
- data/public/images/icons/report/report_16x16.png +0 -0
- data/public/images/icons/reset-password/reset-password_48x48.png +0 -0
- data/public/images/icons/rowselect/rowselect_16x16.png +0 -0
- data/public/images/icons/save/save_16x16.png +0 -0
- data/public/images/icons/save_as/save_as_16x16.png +0 -0
- data/public/images/icons/scaffold/scaffold_16x16.png +0 -0
- data/public/images/icons/scaffold/scaffold_light_16x16.png +0 -0
- data/public/images/icons/search/search_16x16.png +0 -0
- data/public/images/icons/search/search_24x24.png +0 -0
- data/public/images/icons/search/search_32x32.png +0 -0
- data/public/images/icons/search/search_48x48.png +0 -0
- data/public/images/icons/search/search_light_16x16.png +0 -0
- data/public/images/icons/section/section_16x16.png +0 -0
- data/public/images/icons/section/section_24x24.png +0 -0
- data/public/images/icons/section/section_32x32.png +0 -0
- data/public/images/icons/section/section_48x48.png +0 -0
- data/public/images/icons/section_lock/section_lock_16x16.png +0 -0
- data/public/images/icons/section_lock/section_lock_24x24.png +0 -0
- data/public/images/icons/section_lock/section_lock_32x32.png +0 -0
- data/public/images/icons/section_lock/section_lock_48x48.png +0 -0
- data/public/images/icons/secure/secure_16x16.png +0 -0
- data/public/images/icons/settings/settings_16x16.png +0 -0
- data/public/images/icons/settings/settings_light_16x16.png +0 -0
- data/public/images/icons/shopping_cart/shopping_card_64x64.png +0 -0
- data/public/images/icons/shopping_cart/shopping_cart_32x32.png +0 -0
- data/public/images/icons/shopping_cart/shopping_cart_48x48.png +0 -0
- data/public/images/icons/sign_up/sign_up_32x32.png +0 -0
- data/public/images/icons/sign_up/sign_up_48x48.png +0 -0
- data/public/images/icons/sign_up/sign_up_64x64.png +0 -0
- data/public/images/icons/signup/signup_48x48.png +0 -0
- data/public/images/icons/simple_arrow/simple_arrow_16x16.png +0 -0
- data/public/images/icons/small_gear/small_gear_16x16.png +0 -0
- data/public/images/icons/sql/sql_16x16.png +0 -0
- data/public/images/icons/tables/tables_16x16.png +0 -0
- data/public/images/icons/theme/theme_16x16.png +0 -0
- data/public/images/icons/theme_upload/theme_upload_16x16.png +0 -0
- data/public/images/icons/ticket/tag_16x16.png +0 -0
- data/public/images/icons/undo/undo_16x16.png +0 -0
- data/public/images/icons/user/user_128x128.png +0 -0
- data/public/images/icons/user/user_16x16.png +0 -0
- data/public/images/icons/user/user_64x64.png +0 -0
- data/public/images/icons/user/user_light_16x16.png +0 -0
- data/public/images/icons/user_mgt/user_mgt_16x16.png +0 -0
- data/public/images/icons/user_mgt/user_mgt_light_16x16.png +0 -0
- data/public/images/icons/vcard/vcard_16x16.png +0 -0
- data/public/images/icons/view/view_16x16.png +0 -0
- data/public/images/icons/view/view_24x24.png +0 -0
- data/public/images/icons/view/view_32x32.png +0 -0
- data/public/images/icons/view/view_48x48.png +0 -0
- data/public/images/icons/warning/waring_16x16.png +0 -0
- data/public/images/icons/website/website_16x16.png +0 -0
- data/public/images/icons/website_download/website_download_16x16.png +0 -0
- data/public/images/icons/website_publications/website_publications_16x16.png +0 -0
- data/public/images/icons/website_upload/website_upload_16x16.png +0 -0
- data/public/images/loading_icon.gif +0 -0
- data/public/images/splash_screen/browse_docs_icon.png +0 -0
- data/public/images/splash_screen/desktop_icon.png +0 -0
- data/public/images/tab/tab-default-close.png +0 -0
- data/public/javascripts/erp_app/authentication/compass_user.js +77 -69
- data/public/javascripts/erp_app/ckeditor/ckeditor.js +927 -152
- data/public/javascripts/erp_app/ckeditor/config.js +12 -11
- data/public/javascripts/erp_app/ckeditor/contents.css +84 -6
- data/public/javascripts/erp_app/ckeditor/lang/en.js +3 -4
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +10 -7
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +25 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +10 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +10 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +10 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +10 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +10 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +10 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +10 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +10 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +11 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +10 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +10 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +10 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +10 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +11 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +10 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +10 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +10 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +8 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +10 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +10 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +10 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +10 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +10 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +7 -0
- data/public/javascripts/erp_app/ckeditor/plugins/about/dialogs/about.js +7 -6
- data/public/javascripts/erp_app/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/clipboard/dialogs/paste.js +11 -7
- data/public/javascripts/erp_app/ckeditor/plugins/codemirror/lang/en.js +12 -0
- data/public/javascripts/erp_app/ckeditor/plugins/codemirror/plugin.js +756 -59
- data/public/javascripts/erp_app/ckeditor/plugins/colordialog/dialogs/colordialog.js +13 -7
- data/public/javascripts/erp_app/ckeditor/plugins/dialog/dialogDefinition.js +4 -4
- data/public/javascripts/erp_app/ckeditor/plugins/div/dialogs/div.js +9 -8
- data/public/javascripts/erp_app/ckeditor/{images → plugins/fakeobjects/images}/spacer.gif +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/find/dialogs/find.js +24 -10
- data/public/javascripts/erp_app/ckeditor/plugins/flash/dialogs/flash.js +24 -9
- data/public/javascripts/erp_app/ckeditor/plugins/forms/dialogs/button.js +8 -6
- data/public/javascripts/erp_app/ckeditor/plugins/forms/dialogs/checkbox.js +8 -6
- data/public/javascripts/erp_app/ckeditor/plugins/forms/dialogs/form.js +8 -6
- data/public/javascripts/erp_app/ckeditor/plugins/forms/dialogs/hiddenfield.js +8 -6
- data/public/javascripts/erp_app/ckeditor/plugins/forms/dialogs/radio.js +8 -6
- data/public/javascripts/erp_app/ckeditor/plugins/forms/dialogs/select.js +20 -9
- data/public/javascripts/erp_app/ckeditor/plugins/forms/dialogs/textarea.js +8 -6
- data/public/javascripts/erp_app/ckeditor/plugins/forms/dialogs/textfield.js +10 -6
- data/public/javascripts/erp_app/ckeditor/plugins/icons.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/icons_hidpi.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/iframe/dialogs/iframe.js +10 -7
- data/public/javascripts/erp_app/ckeditor/plugins/image/dialogs/image.js +43 -13
- data/public/javascripts/erp_app/ckeditor/{skins/kama → plugins/image}/images/noimage.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/inlineeditsave/plugin.js +3 -1
- data/public/javascripts/erp_app/ckeditor/plugins/knitkitthemes/plugin.js +2 -5
- data/public/javascripts/erp_app/ckeditor/plugins/link/dialogs/anchor.js +8 -6
- data/public/javascripts/erp_app/ckeditor/plugins/link/dialogs/link.js +36 -12
- data/public/javascripts/erp_app/ckeditor/plugins/link/images/anchor.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/liststyle/dialogs/liststyle.js +10 -7
- data/public/javascripts/erp_app/ckeditor/plugins/magicline/images/hidpi/icon.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/magicline/images/icon.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/pastefromword/filter/default.js +31 -11
- data/public/javascripts/erp_app/ckeditor/plugins/scayt/LICENSE.md +28 -0
- data/public/javascripts/erp_app/ckeditor/plugins/scayt/README.md +25 -0
- data/public/javascripts/erp_app/ckeditor/plugins/scayt/dialogs/options.js +20 -8
- data/public/javascripts/erp_app/ckeditor/plugins/scayt/dialogs/toolbar.css +70 -5
- data/public/javascripts/erp_app/ckeditor/plugins/smiley/dialogs/smiley.js +10 -7
- data/public/javascripts/erp_app/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +20 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/ar.js +13 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/bg.js +13 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/ca.js +14 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/cs.js +13 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/cy.js +14 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/de.js +13 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/el.js +13 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/en.js +13 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/eo.js +12 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/es.js +13 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/et.js +13 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/fa.js +12 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/fi.js +13 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +10 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/fr.js +11 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/gl.js +13 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/he.js +13 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/hr.js +13 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/hu.js +12 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/id.js +13 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/it.js +14 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/ja.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/ku.js +13 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/lv.js +13 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/nb.js +11 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/nl.js +13 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/no.js +11 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/pl.js +12 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +11 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/pt.js +13 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/ru.js +13 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/si.js +13 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/sk.js +13 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/sl.js +12 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/sq.js +13 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/sv.js +11 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/th.js +13 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/tr.js +12 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/ug.js +13 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/uk.js +12 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/vi.js +13 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/specialchar.js +14 -7
- data/public/javascripts/erp_app/ckeditor/plugins/syntaxhighlight/dialogs/syntaxhighlight.js +418 -0
- data/public/javascripts/erp_app/ckeditor/plugins/syntaxhighlight/icons/syntaxhighlight.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/syntaxhighlight/lang/de.js +22 -0
- data/public/javascripts/erp_app/ckeditor/plugins/syntaxhighlight/lang/en.js +22 -0
- data/public/javascripts/erp_app/ckeditor/plugins/syntaxhighlight/lang/fr.js +22 -0
- data/public/javascripts/erp_app/ckeditor/plugins/syntaxhighlight/lang/zh-cn.js +22 -0
- data/public/javascripts/erp_app/ckeditor/plugins/syntaxhighlight/plugin.js +144 -0
- data/public/javascripts/erp_app/ckeditor/plugins/table/dialogs/table.js +21 -9
- data/public/javascripts/erp_app/ckeditor/plugins/tabletools/dialogs/tableCell.js +16 -8
- data/public/javascripts/erp_app/ckeditor/plugins/templates/dialogs/templates.css +84 -0
- data/public/javascripts/erp_app/ckeditor/plugins/templates/dialogs/templates.js +10 -7
- data/public/javascripts/erp_app/ckeditor/plugins/templates/templates/default.js +6 -6
- data/public/javascripts/erp_app/ckeditor/plugins/wsc/LICENSE.md +28 -0
- data/public/javascripts/erp_app/ckeditor/plugins/wsc/README.md +25 -0
- data/public/javascripts/erp_app/ckeditor/plugins/wsc/dialogs/ciframe.html +17 -0
- data/public/javascripts/erp_app/ckeditor/plugins/wsc/dialogs/tmp.html +131 -0
- data/public/javascripts/erp_app/ckeditor/plugins/wsc/dialogs/wsc.css +77 -1
- data/public/javascripts/erp_app/ckeditor/plugins/wsc/dialogs/wsc.js +67 -7
- data/public/javascripts/erp_app/ckeditor/plugins/wsc/dialogs/wsc_ie.js +11 -0
- data/public/javascripts/erp_app/ckeditor/skins/moono/dialog.css +5 -0
- data/public/javascripts/erp_app/ckeditor/skins/moono/dialog_ie.css +5 -0
- data/public/javascripts/erp_app/ckeditor/skins/moono/dialog_ie7.css +5 -0
- data/public/javascripts/erp_app/ckeditor/skins/moono/dialog_ie8.css +5 -0
- data/public/javascripts/erp_app/ckeditor/skins/moono/dialog_iequirks.css +5 -0
- data/public/javascripts/erp_app/ckeditor/skins/moono/dialog_opera.css +5 -0
- data/public/javascripts/erp_app/ckeditor/skins/moono/editor.css +20 -0
- data/public/javascripts/erp_app/ckeditor/skins/moono/editor_gecko.css +5 -0
- data/public/javascripts/erp_app/ckeditor/skins/moono/editor_ie.css +5 -0
- data/public/javascripts/erp_app/ckeditor/skins/moono/editor_ie7.css +5 -0
- data/public/javascripts/erp_app/ckeditor/skins/moono/editor_ie8.css +5 -0
- data/public/javascripts/erp_app/ckeditor/skins/moono/editor_iequirks.css +5 -0
- data/public/javascripts/erp_app/ckeditor/skins/moono/icons.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/moono/icons_hidpi.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/moono/images/arrow.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/moono/images/close.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/moono/images/hidpi/close.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/moono/images/hidpi/lock-open.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/moono/images/hidpi/lock.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/moono/images/hidpi/refresh.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/moono/images/lock-open.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/moono/images/lock.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/moono/images/refresh.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/moono/readme.md +51 -0
- data/public/javascripts/erp_app/ckeditor/styles.js +111 -0
- data/public/javascripts/erp_app/codemirror/lib/codemirror.css +204 -106
- data/public/javascripts/erp_app/codemirror/lib/codemirror.js +55 -3165
- data/public/javascripts/erp_app/codemirror/theme/3024-day.css +34 -0
- data/public/javascripts/erp_app/codemirror/theme/3024-night.css +34 -0
- data/public/javascripts/erp_app/codemirror/theme/ambiance-mobile.css +5 -0
- data/public/javascripts/erp_app/codemirror/theme/ambiance.css +10 -17
- data/public/javascripts/erp_app/codemirror/theme/base16-dark.css +34 -0
- data/public/javascripts/erp_app/codemirror/theme/base16-light.css +34 -0
- data/public/javascripts/erp_app/codemirror/theme/blackboard.css +7 -4
- data/public/javascripts/erp_app/codemirror/theme/cobalt.css +7 -4
- data/public/javascripts/erp_app/codemirror/theme/eclipse.css +3 -5
- data/public/javascripts/erp_app/codemirror/theme/elegant.css +4 -1
- data/public/javascripts/erp_app/codemirror/theme/erlang-dark.css +19 -10
- data/public/javascripts/erp_app/codemirror/theme/lesser-dark.css +9 -10
- data/public/javascripts/erp_app/codemirror/theme/mbo.css +37 -0
- data/public/javascripts/erp_app/codemirror/theme/mdn-like.css +44 -0
- data/public/javascripts/erp_app/codemirror/theme/midnight.css +43 -0
- data/public/javascripts/erp_app/codemirror/theme/monokai.css +5 -4
- data/public/javascripts/erp_app/codemirror/theme/neat.css +3 -0
- data/public/javascripts/erp_app/codemirror/theme/neo.css +40 -0
- data/public/javascripts/erp_app/codemirror/theme/night.css +7 -4
- data/public/javascripts/erp_app/codemirror/theme/paraiso-dark.css +34 -0
- data/public/javascripts/erp_app/codemirror/theme/paraiso-light.css +34 -0
- data/public/javascripts/erp_app/codemirror/theme/pastel-on-dark.css +48 -0
- data/public/javascripts/erp_app/codemirror/theme/rubyblue.css +6 -6
- data/public/javascripts/erp_app/codemirror/theme/solarized.css +167 -0
- data/public/javascripts/erp_app/codemirror/theme/the-matrix.css +26 -0
- data/public/javascripts/erp_app/codemirror/theme/tomorrow-night-eighties.css +34 -0
- data/public/javascripts/erp_app/codemirror/theme/twilight.css +28 -0
- data/public/javascripts/erp_app/codemirror/theme/vibrant-ink.css +9 -6
- data/public/javascripts/erp_app/codemirror/theme/xq-dark.css +8 -5
- data/public/javascripts/erp_app/codemirror/theme/xq-light.css +43 -0
- data/public/javascripts/erp_app/codemirror_highlight.js +2 -2
- data/public/javascripts/erp_app/desktop/applications/audit_log_viewer/module.js +22 -32
- data/public/javascripts/erp_app/desktop/applications/configuration_management/configuration_options_panel.js +1 -1
- data/public/javascripts/erp_app/desktop/applications/configuration_management/module.js +2 -2
- data/public/javascripts/erp_app/desktop/applications/control_panel/module.js +66 -49
- data/public/javascripts/erp_app/desktop/applications/file_manager/module.js +109 -110
- data/public/javascripts/erp_app/desktop/applications/job_tracker/jobs_grid.js +3 -3
- data/public/javascripts/erp_app/desktop/applications/job_tracker/module.js +1 -1
- data/public/javascripts/erp_app/desktop/applications/scaffold/module.js +2 -2
- data/public/javascripts/erp_app/desktop/applications/security_management/capabilities_panel.js +49 -65
- data/public/javascripts/erp_app/desktop/applications/security_management/capabilities_widget.js +206 -218
- data/public/javascripts/erp_app/desktop/applications/security_management/common_widget.js +33 -0
- data/public/javascripts/erp_app/desktop/applications/security_management/groups_effective_security.js +1 -1
- data/public/javascripts/erp_app/desktop/applications/security_management/groups_panel.js +272 -287
- data/public/javascripts/erp_app/desktop/applications/security_management/groups_widget.js +206 -218
- data/public/javascripts/erp_app/desktop/applications/security_management/module.js +150 -46
- data/public/javascripts/erp_app/desktop/applications/security_management/north_panel.js +31 -0
- data/public/javascripts/erp_app/desktop/applications/security_management/roles_panel.js +284 -287
- data/public/javascripts/erp_app/desktop/applications/security_management/roles_widget.js +206 -218
- data/public/javascripts/erp_app/desktop/applications/security_management/south_panel.js +126 -0
- data/public/javascripts/erp_app/desktop/applications/security_management/users_effective_security.js +112 -105
- data/public/javascripts/erp_app/desktop/applications/security_management/users_panel.js +53 -85
- data/public/javascripts/erp_app/desktop/applications/security_management/users_widget.js +210 -218
- data/public/javascripts/erp_app/desktop/applications/tail/module.js +2 -2
- data/public/javascripts/erp_app/desktop/applications/user_management/module.js +50 -40
- data/public/javascripts/erp_app/desktop/applications/user_management/personal_info_panel.js +113 -113
- data/public/javascripts/erp_app/desktop/applications/web_navigator/module.js +18 -8
- data/public/javascripts/erp_app/desktop/ext_ux_desktop_module.js +937 -881
- data/public/javascripts/erp_app/jquery_support.js +19 -30
- data/public/javascripts/erp_app/login/window.js +121 -110
- data/public/javascripts/erp_app/organizer/applications/crm/base.js +54 -342
- data/public/javascripts/erp_app/organizer/layout.js +184 -95
- data/public/javascripts/erp_app/organizer/preference_window.js +66 -55
- data/public/javascripts/erp_app/shared/MoneyField.js +119 -0
- data/public/javascripts/erp_app/shared/PartySearchField.js +73 -0
- data/public/javascripts/erp_app/shared/TransitionCardLayout.js +156 -0
- data/public/javascripts/erp_app/shared/audit_log/GridPanel.js +214 -0
- data/public/javascripts/erp_app/shared/audit_log/ItemGridPanel.js +103 -0
- data/public/javascripts/erp_app/shared/audit_log/TabPanel.js +103 -0
- data/public/javascripts/erp_app/shared/compass_ckeditor.js +181 -101
- data/public/javascripts/erp_app/shared/compass_codemirror.js +399 -126
- data/public/javascripts/erp_app/shared/configuration/configuration_form.js +32 -49
- data/public/javascripts/erp_app/shared/configuration/configuration_panel.js +26 -8
- data/public/javascripts/erp_app/shared/coolclock/tray_clock2.js +121 -0
- data/public/javascripts/erp_app/shared/crm/ContactMechanismGrid.js +812 -0
- data/public/javascripts/erp_app/shared/crm/PartyDetailsPanel.js +344 -0
- data/public/javascripts/erp_app/shared/crm/PartyForm.js +321 -0
- data/public/javascripts/erp_app/shared/crm/PartyFormPanel.js +316 -0
- data/public/javascripts/erp_app/shared/crm/PartyGrid.js +591 -0
- data/public/javascripts/erp_app/shared/crm/UserForm.js +307 -0
- data/public/javascripts/erp_app/shared/crm/UsersGrid.js +492 -0
- data/public/javascripts/erp_app/shared/dynamic_editable_grid.js +55 -52
- data/public/javascripts/erp_app/shared/dynamic_editable_grid_loader_panel.js +29 -36
- data/public/javascripts/erp_app/shared/dynamic_form_fields.js +99 -0
- data/public/javascripts/erp_app/shared/file_manager_tree.js +685 -658
- data/public/javascripts/erp_app/shared/google_map_panel.js +96 -68
- data/public/javascripts/erp_app/shared/notes_grid.js +317 -287
- data/public/javascripts/erp_app/shared/preferences/application_management_panel.js +137 -0
- data/public/javascripts/erp_app/shared/preferences/form.js +170 -0
- data/public/javascripts/erp_app/shared/profile_management_panel.js +62 -63
- data/public/javascripts/erp_app/utility.js +271 -65
- data/public/javascripts/erp_app/widgets.js +68 -70
- data/public/stylesheets/erp_app/desktop/applications/security_management/styles.css +12 -0
- data/public/stylesheets/erp_app/desktop/base.css +87 -11
- data/public/stylesheets/erp_app/organizer/base.css +6 -0
- data/public/stylesheets/erp_app/shared/compass-ext-all.css +335 -213
- data/public/stylesheets/erp_app/shared/crm.css +45 -0
- data/spec/controllers/organizer/crm/relationship_controller_spec.rb +1 -0
- metadata +545 -1272
- data/app/controllers/erp_app/desktop/audit_log_viewer/base_controller.rb +0 -55
- data/app/controllers/erp_app/organizer/crm/base_controller.rb +0 -333
- data/app/views/erp_app/organizer/base/get_party_details.erb +0 -19
- data/lib/erp_app/extensions/will_paginate_patch.rb +0 -26
- data/public/images/icons/about/about_16x16.png +0 -0
- data/public/images/icons/about/about_24x24.png +0 -0
- data/public/images/icons/about/about_32x32.png +0 -0
- data/public/images/icons/about/about_48x48.png +0 -0
- data/public/images/icons/add/add_24x24.png +0 -0
- data/public/images/icons/add/add_32x32.png +0 -0
- data/public/images/icons/add/add_48x48.png +0 -0
- data/public/images/icons/apartment/apartment_16x16.png +0 -0
- data/public/images/icons/apartment/apartment_24x24.png +0 -0
- data/public/images/icons/apartment/apartment_32x32.png +0 -0
- data/public/images/icons/apartment/apartment_48x48.png +0 -0
- data/public/images/icons/arrow_left_blue/arrow_left_blue_24x24.png +0 -0
- data/public/images/icons/arrow_right_blue/arrow_right_blue_24x24.png +0 -0
- data/public/images/icons/back/back_16x16.png +0 -0
- data/public/images/icons/back/back_24x24.png +0 -0
- data/public/images/icons/back/back_32x32.png +0 -0
- data/public/images/icons/back/back_48x48.png +0 -0
- data/public/images/icons/battery/battery_16x16.png +0 -0
- data/public/images/icons/battery/battery_24x24.png +0 -0
- data/public/images/icons/battery/battery_32x32.png +0 -0
- data/public/images/icons/battery/battery_48x48.png +0 -0
- data/public/images/icons/calendar/calendar_24x24.png +0 -0
- data/public/images/icons/calendar/calendar_32x32.png +0 -0
- data/public/images/icons/calendar/calendar_48x48.png +0 -0
- data/public/images/icons/clock/clock.png +0 -0
- data/public/images/icons/compass/compass_16x16.png +0 -0
- data/public/images/icons/compass/compass_24x24.png +0 -0
- data/public/images/icons/compass/compass_32x32.png +0 -0
- data/public/images/icons/compass/compass_48x48.png +0 -0
- data/public/images/icons/console/console_32x32.png +0 -0
- data/public/images/icons/console/console_48x48.png +0 -0
- data/public/images/icons/content/content_256x256.png +0 -0
- data/public/images/icons/content/content_32x32.png +0 -0
- data/public/images/icons/content/content_48x48.png +0 -0
- data/public/images/icons/control_panel/control_panel_24x24.png +0 -0
- data/public/images/icons/control_panel/control_panel_32x32.png +0 -0
- data/public/images/icons/copy/copy_24x24.png +0 -0
- data/public/images/icons/copy/copy_32x32.png +0 -0
- data/public/images/icons/copy/copy_48x48.png +0 -0
- data/public/images/icons/cut/cut_16x16.png +0 -0
- data/public/images/icons/cut/cut_24x24.png +0 -0
- data/public/images/icons/cut/cut_32x32.png +0 -0
- data/public/images/icons/cut/cut_48x48.png +0 -0
- data/public/images/icons/data/data_24x24.png +0 -0
- data/public/images/icons/data/data_48x48.png +0 -0
- data/public/images/icons/desktop/desktop_16x16.png +0 -0
- data/public/images/icons/desktop/desktop_24x24.png +0 -0
- data/public/images/icons/desktop/desktop_32x32.png +0 -0
- data/public/images/icons/desktop/desktop_48x48.png +0 -0
- data/public/images/icons/document_add/document_add_16x16.png +0 -0
- data/public/images/icons/document_add/document_add_24x24.png +0 -0
- data/public/images/icons/document_add/document_add_32x32.png +0 -0
- data/public/images/icons/document_add/document_add_48x48.png +0 -0
- data/public/images/icons/document_attachment/document_attachment_16x16.png +0 -0
- data/public/images/icons/document_attachment/document_attachment_24x24.png +0 -0
- data/public/images/icons/document_attachment/document_attachment_32x32.png +0 -0
- data/public/images/icons/document_attachment/document_attachment_48x48.png +0 -0
- data/public/images/icons/document_certificate/document_certificate_16x16.png +0 -0
- data/public/images/icons/document_certificate/document_certificate_24x24.png +0 -0
- data/public/images/icons/document_certificate/document_certificate_32x32.png +0 -0
- data/public/images/icons/document_certificate/document_certificate_48x48.png +0 -0
- data/public/images/icons/document_chart/document_chart_16x16.png +0 -0
- data/public/images/icons/document_chart/document_chart_24x24.png +0 -0
- data/public/images/icons/document_chart/document_chart_32x32.png +0 -0
- data/public/images/icons/document_chart/document_chart_48x48.png +0 -0
- data/public/images/icons/document_connection/document_connection_16x16.png +0 -0
- data/public/images/icons/document_connection/document_connection_24x24.png +0 -0
- data/public/images/icons/document_connection/document_connection_32x32.png +0 -0
- data/public/images/icons/document_connection/document_connection_48x48.png +0 -0
- data/public/images/icons/document_cup/document_cup_16x16.png +0 -0
- data/public/images/icons/document_cup/document_cup_24x24.png +0 -0
- data/public/images/icons/document_cup/document_cup_32x32.png +0 -0
- data/public/images/icons/document_cup/document_cup_48x48.png +0 -0
- data/public/images/icons/document_delete/document_delete_16x16.png +0 -0
- data/public/images/icons/document_delete/document_delete_24x24.png +0 -0
- data/public/images/icons/document_delete/document_delete_32x32.png +0 -0
- data/public/images/icons/document_delete/document_delete_48x48.png +0 -0
- data/public/images/icons/document_dirty/document_dirty_16x16.png +0 -0
- data/public/images/icons/document_dirty/document_dirty_24x24.png +0 -0
- data/public/images/icons/document_dirty/document_dirty_32x32.png +0 -0
- data/public/images/icons/document_dirty/document_dirty_48x48.png +0 -0
- data/public/images/icons/document_error/document_error_16x16.png +0 -0
- data/public/images/icons/document_error/document_error_24x24.png +0 -0
- data/public/images/icons/document_error/document_error_32x32.png +0 -0
- data/public/images/icons/document_error/document_error_48x48.png +0 -0
- data/public/images/icons/document_exchange/document_exchange_16x16.png +0 -0
- data/public/images/icons/document_exchange/document_exchange_24x24.png +0 -0
- data/public/images/icons/document_exchange/document_exchange_32x32.png +0 -0
- data/public/images/icons/document_exchange/document_exchange_48x48.png +0 -0
- data/public/images/icons/document_find/document_find_16x16.png +0 -0
- data/public/images/icons/document_find/document_find_24x24.png +0 -0
- data/public/images/icons/document_find/document_find_32x32.png +0 -0
- data/public/images/icons/document_find/document_find_48x48.png +0 -0
- data/public/images/icons/document_forbidden/document_forbidden_16x16.png +0 -0
- data/public/images/icons/document_forbidden/document_forbidden_24x24.png +0 -0
- data/public/images/icons/document_forbidden/document_forbidden_32x32.png +0 -0
- data/public/images/icons/document_forbidden/document_forbidden_48x48.png +0 -0
- data/public/images/icons/document_gear/document_gear_16x16.png +0 -0
- data/public/images/icons/document_gear/document_gear_24x24.png +0 -0
- data/public/images/icons/document_gear/document_gear_32x32.png +0 -0
- data/public/images/icons/document_gear/document_gear_48x48.png +0 -0
- data/public/images/icons/document_heart/document_heart_16x16.png +0 -0
- data/public/images/icons/document_heart/document_heart_24x24.png +0 -0
- data/public/images/icons/document_heart/document_heart_32x32.png +0 -0
- data/public/images/icons/document_heart/document_heart_48x48.png +0 -0
- data/public/images/icons/document_into/document_into_16x16.png +0 -0
- data/public/images/icons/document_into/document_into_24x24.png +0 -0
- data/public/images/icons/document_into/document_into_32x32.png +0 -0
- data/public/images/icons/document_into/document_into_48x48.png +0 -0
- data/public/images/icons/document_music/document_music_16x16.png +0 -0
- data/public/images/icons/document_music/document_music_24x24.png +0 -0
- data/public/images/icons/document_music/document_music_32x32.png +0 -0
- data/public/images/icons/document_music/document_music_48x48.png +0 -0
- data/public/images/icons/document_new/document_new_16x16.png +0 -0
- data/public/images/icons/document_new/document_new_24x24.png +0 -0
- data/public/images/icons/document_new/document_new_32x32.png +0 -0
- data/public/images/icons/document_new/document_new_48x48.png +0 -0
- data/public/images/icons/document_notebook/document_notebook_16x16.png +0 -0
- data/public/images/icons/document_notebook/document_notebook_24x24.png +0 -0
- data/public/images/icons/document_notebook/document_notebook_32x32.png +0 -0
- data/public/images/icons/document_notebook/document_notebook_48x48.png +0 -0
- data/public/images/icons/document_pinned/document_pinned_16x16.png +0 -0
- data/public/images/icons/document_pinned/document_pinned_24x24.png +0 -0
- data/public/images/icons/document_pinned/document_pinned_32x32.png +0 -0
- data/public/images/icons/document_pinned/document_pinned_48x48.png +0 -0
- data/public/images/icons/document_plain/document_plain_16x16.png +0 -0
- data/public/images/icons/document_plain/document_plain_24x24.png +0 -0
- data/public/images/icons/document_plain/document_plain_32x32.png +0 -0
- data/public/images/icons/document_plain/document_plain_48x48.png +0 -0
- data/public/images/icons/document_plain_new/document_plain_new_16x16.png +0 -0
- data/public/images/icons/document_plain_new/document_plain_new_24x24.png +0 -0
- data/public/images/icons/document_plain_new/document_plain_new_32x32.png +0 -0
- data/public/images/icons/document_plain_new/document_plain_new_48x48.png +0 -0
- data/public/images/icons/document_preferences/document_preferences_16x16.png +0 -0
- data/public/images/icons/document_preferences/document_preferences_24x24.png +0 -0
- data/public/images/icons/document_preferences/document_preferences_32x32.png +0 -0
- data/public/images/icons/document_preferences/document_preferences_48x48.png +0 -0
- data/public/images/icons/document_refresh/document_refresh_16x16.png +0 -0
- data/public/images/icons/document_refresh/document_refresh_24x24.png +0 -0
- data/public/images/icons/document_refresh/document_refresh_32x32.png +0 -0
- data/public/images/icons/document_refresh/document_refresh_48x48.png +0 -0
- data/public/images/icons/document_stop/document_stop_16x16.png +0 -0
- data/public/images/icons/document_stop/document_stop_24x24.png +0 -0
- data/public/images/icons/document_stop/document_stop_32x32.png +0 -0
- data/public/images/icons/document_stop/document_stop_48x48.png +0 -0
- data/public/images/icons/document_text/document_text_16x16.png +0 -0
- data/public/images/icons/document_text/document_text_24x24.png +0 -0
- data/public/images/icons/document_text/document_text_32x32.png +0 -0
- data/public/images/icons/document_text/document_text_48x48.png +0 -0
- data/public/images/icons/document_time/document_time_16x16.png +0 -0
- data/public/images/icons/document_time/document_time_24x24.png +0 -0
- data/public/images/icons/document_time/document_time_32x32.png +0 -0
- data/public/images/icons/document_time/document_time_48x48.png +0 -0
- data/public/images/icons/document_view/document_view_16x16.png +0 -0
- data/public/images/icons/document_view/document_view_24x24.png +0 -0
- data/public/images/icons/document_view/document_view_32x32.png +0 -0
- data/public/images/icons/document_view/document_view_48x48.png +0 -0
- data/public/images/icons/document_warning/document_warning_16x16.png +0 -0
- data/public/images/icons/document_warning/document_warning_24x24.png +0 -0
- data/public/images/icons/document_warning/document_warning_32x32.png +0 -0
- data/public/images/icons/document_warning/document_warning_48x48.png +0 -0
- data/public/images/icons/document_zoom_in/document_zoom_in_16x16.png +0 -0
- data/public/images/icons/document_zoom_in/document_zoom_in_24x24.png +0 -0
- data/public/images/icons/document_zoom_in/document_zoom_in_32x32.png +0 -0
- data/public/images/icons/document_zoom_in/document_zoom_in_48x48.png +0 -0
- data/public/images/icons/document_zoom_out/document_zoom_out_16x16.png +0 -0
- data/public/images/icons/document_zoom_out/document_zoom_out_24x24.png +0 -0
- data/public/images/icons/document_zoom_out/document_zoom_out_32x32.png +0 -0
- data/public/images/icons/document_zoom_out/document_zoom_out_48x48.png +0 -0
- data/public/images/icons/documents_gear/documents_gear_16x16.png +0 -0
- data/public/images/icons/documents_gear/documents_gear_24x24.png +0 -0
- data/public/images/icons/documents_gear/documents_gear_32x32.png +0 -0
- data/public/images/icons/documents_gear/documents_gear_48x48.png +0 -0
- data/public/images/icons/documents_new/documents_new_16x16.png +0 -0
- data/public/images/icons/documents_new/documents_new_24x24.png +0 -0
- data/public/images/icons/documents_new/documents_new_32x32.png +0 -0
- data/public/images/icons/documents_new/documents_new_48x48.png +0 -0
- data/public/images/icons/documents_preferences/documents_preferences_16x16.png +0 -0
- data/public/images/icons/documents_preferences/documents_preferences_24x24.png +0 -0
- data/public/images/icons/documents_preferences/documents_preferences_32x32.png +0 -0
- data/public/images/icons/documents_preferences/documents_preferences_48x48.png +0 -0
- data/public/images/icons/error/error_16x16.png +0 -0
- data/public/images/icons/error/error_24x24.png +0 -0
- data/public/images/icons/error/error_32x32.png +0 -0
- data/public/images/icons/error/error_48x48.png +0 -0
- data/public/images/icons/folder_gear/folder_gear_16x16.png +0 -0
- data/public/images/icons/folder_gear/folder_gear_24x24.png +0 -0
- data/public/images/icons/folder_gear/folder_gear_32x32.png +0 -0
- data/public/images/icons/folder_gear/folder_gear_48x48.png +0 -0
- data/public/images/icons/folders/folders_16x16.png +0 -0
- data/public/images/icons/folders/folders_24x24.png +0 -0
- data/public/images/icons/folders/folders_32x32.png +0 -0
- data/public/images/icons/folders/folders_48x48.png +0 -0
- data/public/images/icons/globe/globe_24x24.png +0 -0
- data/public/images/icons/globe/globe_32x32.png +0 -0
- data/public/images/icons/globe/globe_48x48.png +0 -0
- data/public/images/icons/grid/grid_32x32.gif +0 -0
- data/public/images/icons/grid/grid_48x48.gif +0 -0
- data/public/images/icons/grid/grid_48x48.png +0 -0
- data/public/images/icons/help/help_16x16.png +0 -0
- data/public/images/icons/help/help_24x24.png +0 -0
- data/public/images/icons/help/help_32x32.png +0 -0
- data/public/images/icons/help/help_48x48.png +0 -0
- data/public/images/icons/history/history_24x24.png +0 -0
- data/public/images/icons/history/history_32x32.png +0 -0
- data/public/images/icons/history/history_48x48.png +0 -0
- data/public/images/icons/house/house_16x16.png +0 -0
- data/public/images/icons/house/house_24x24.png +0 -0
- data/public/images/icons/house/house_32x32.png +0 -0
- data/public/images/icons/house/house_48x48.png +0 -0
- data/public/images/icons/information/information_24x24.png +0 -0
- data/public/images/icons/information/information_32x32.png +0 -0
- data/public/images/icons/information/information_48x48.png +0 -0
- data/public/images/icons/key/key_24x24.png +0 -0
- data/public/images/icons/key/key_32x32.png +0 -0
- data/public/images/icons/key/key_48x48.png +0 -0
- data/public/images/icons/keyboard/keyboard_16x16.png +0 -0
- data/public/images/icons/keyboard/keyboard_24x24.png +0 -0
- data/public/images/icons/keyboard/keyboard_32x32.png +0 -0
- data/public/images/icons/keyboard/keyboard_48x48.png +0 -0
- data/public/images/icons/knowledge/Knowledge_16x16.png +0 -0
- data/public/images/icons/knowledge/Knowledge_256x256.png +0 -0
- data/public/images/icons/knowledge/Knowledge_32x32.png +0 -0
- data/public/images/icons/knowledge/Knowledge_48x48.png +0 -0
- data/public/images/icons/laptop/laptop_16x16.png +0 -0
- data/public/images/icons/laptop/laptop_24x24.png +0 -0
- data/public/images/icons/laptop/laptop_32x32.png +0 -0
- data/public/images/icons/laptop/laptop_48x48.png +0 -0
- data/public/images/icons/log_out/log_out_16x16.png +0 -0
- data/public/images/icons/log_out/log_out_24x24.png +0 -0
- data/public/images/icons/log_out/log_out_32x32.png +0 -0
- data/public/images/icons/log_out/log_out_48x48.png +0 -0
- data/public/images/icons/message/message_16x16.png +0 -0
- data/public/images/icons/message/message_24x24.png +0 -0
- data/public/images/icons/message/message_32x32.png +0 -0
- data/public/images/icons/message/message_48x48.png +0 -0
- data/public/images/icons/monitor/monitor_16x16.png +0 -0
- data/public/images/icons/monitor/monitor_24x24.png +0 -0
- data/public/images/icons/monitor/monitor_32x32.png +0 -0
- data/public/images/icons/monitor/monitor_48x48.png +0 -0
- data/public/images/icons/mouse/mouse_16x16.png +0 -0
- data/public/images/icons/mouse/mouse_24x24.png +0 -0
- data/public/images/icons/mouse/mouse_32x32.png +0 -0
- data/public/images/icons/mouse/mouse_48x48.png +0 -0
- data/public/images/icons/music/music_16x16.png +0 -0
- data/public/images/icons/music/music_24x24.png +0 -0
- data/public/images/icons/music/music_32x32.png +0 -0
- data/public/images/icons/music/music_48x48.png +0 -0
- data/public/images/icons/nav_down_blue/nav_down_blue_16x16.png +0 -0
- data/public/images/icons/nav_down_blue/nav_down_blue_24x24.png +0 -0
- data/public/images/icons/nav_down_blue/nav_down_blue_32x32.png +0 -0
- data/public/images/icons/nav_down_blue/nav_down_blue_48x48.png +0 -0
- data/public/images/icons/nav_down_left_blue/nav_down_left_blue_16x16.png +0 -0
- data/public/images/icons/nav_down_left_blue/nav_down_left_blue_24x24.png +0 -0
- data/public/images/icons/nav_down_left_blue/nav_down_left_blue_32x32.png +0 -0
- data/public/images/icons/nav_down_left_blue/nav_down_left_blue_48x48.png +0 -0
- data/public/images/icons/nav_down_right_blue/nav_down_right_blue_16x16.png +0 -0
- data/public/images/icons/nav_down_right_blue/nav_down_right_blue_24x24.png +0 -0
- data/public/images/icons/nav_down_right_blue/nav_down_right_blue_32x32.png +0 -0
- data/public/images/icons/nav_down_right_blue/nav_down_right_blue_48x48.png +0 -0
- data/public/images/icons/nav_left_blue/nav_left_blue_16x16.png +0 -0
- data/public/images/icons/nav_left_blue/nav_left_blue_24x24.png +0 -0
- data/public/images/icons/nav_left_blue/nav_left_blue_32x32.png +0 -0
- data/public/images/icons/nav_left_blue/nav_left_blue_48x48.png +0 -0
- data/public/images/icons/nav_plain_blue/nav_plain_blue_16x16.png +0 -0
- data/public/images/icons/nav_plain_blue/nav_plain_blue_24x24.png +0 -0
- data/public/images/icons/nav_plain_blue/nav_plain_blue_32x32.png +0 -0
- data/public/images/icons/nav_plain_blue/nav_plain_blue_48x48.png +0 -0
- data/public/images/icons/nav_redo_blue/nav_redo_blue_16x16.png +0 -0
- data/public/images/icons/nav_redo_blue/nav_redo_blue_24x24.png +0 -0
- data/public/images/icons/nav_redo_blue/nav_redo_blue_32x32.png +0 -0
- data/public/images/icons/nav_redo_blue/nav_redo_blue_48x48.png +0 -0
- data/public/images/icons/nav_refresh_blue/nav_refresh_blue_16x16.png +0 -0
- data/public/images/icons/nav_refresh_blue/nav_refresh_blue_24x24.png +0 -0
- data/public/images/icons/nav_refresh_blue/nav_refresh_blue_32x32.png +0 -0
- data/public/images/icons/nav_refresh_blue/nav_refresh_blue_48x48.png +0 -0
- data/public/images/icons/nav_right_blue/nav_right_blue_16x16.png +0 -0
- data/public/images/icons/nav_right_blue/nav_right_blue_24x24.png +0 -0
- data/public/images/icons/nav_right_blue/nav_right_blue_32x32.png +0 -0
- data/public/images/icons/nav_right_blue/nav_right_blue_48x48.png +0 -0
- data/public/images/icons/nav_undo_blue/nav_undo_blue_16x16.png +0 -0
- data/public/images/icons/nav_undo_blue/nav_undo_blue_24x24.png +0 -0
- data/public/images/icons/nav_undo_blue/nav_undo_blue_32x32.png +0 -0
- data/public/images/icons/nav_undo_blue/nav_undo_blue_48x48.png +0 -0
- data/public/images/icons/nav_up_blue/nav_up_blue_16x16.png +0 -0
- data/public/images/icons/nav_up_blue/nav_up_blue_24x24.png +0 -0
- data/public/images/icons/nav_up_blue/nav_up_blue_32x32.png +0 -0
- data/public/images/icons/nav_up_blue/nav_up_blue_48x48.png +0 -0
- data/public/images/icons/nav_up_left_blue/nav_up_left_blue_16x16.png +0 -0
- data/public/images/icons/nav_up_left_blue/nav_up_left_blue_24x24.png +0 -0
- data/public/images/icons/nav_up_left_blue/nav_up_left_blue_32x32.png +0 -0
- data/public/images/icons/nav_up_left_blue/nav_up_left_blue_48x48.png +0 -0
- data/public/images/icons/nav_up_right_blue/nav_up_right_blue_16x16.png +0 -0
- data/public/images/icons/nav_up_right_blue/nav_up_right_blue_24x24.png +0 -0
- data/public/images/icons/nav_up_right_blue/nav_up_right_blue_32x32.png +0 -0
- data/public/images/icons/nav_up_right_blue/nav_up_right_blue_48x48.png +0 -0
- data/public/images/icons/new/new_16x16.png +0 -0
- data/public/images/icons/new/new_24x24.png +0 -0
- data/public/images/icons/new/new_32x32.png +0 -0
- data/public/images/icons/new/new_48x48.png +0 -0
- data/public/images/icons/note_add/note_add_16x16.png +0 -0
- data/public/images/icons/note_add/note_add_24x24.png +0 -0
- data/public/images/icons/note_add/note_add_32x32.png +0 -0
- data/public/images/icons/note_add/note_add_48x48.png +0 -0
- data/public/images/icons/note_delete/note_delete_16x16.png +0 -0
- data/public/images/icons/note_delete/note_delete_24x24.png +0 -0
- data/public/images/icons/note_delete/note_delete_32x32.png +0 -0
- data/public/images/icons/note_delete/note_delete_48x48.png +0 -0
- data/public/images/icons/note_edit/note_edit_16x16.png +0 -0
- data/public/images/icons/note_edit/note_edit_24x24.png +0 -0
- data/public/images/icons/note_edit/note_edit_32x32.png +0 -0
- data/public/images/icons/note_edit/note_edit_48x48.png +0 -0
- data/public/images/icons/note_error/note_error_16x16.png +0 -0
- data/public/images/icons/note_error/note_error_24x24.png +0 -0
- data/public/images/icons/note_error/note_error_32x32.png +0 -0
- data/public/images/icons/note_error/note_error_48x48.png +0 -0
- data/public/images/icons/note_find/note_find_16x16.png +0 -0
- data/public/images/icons/note_find/note_find_24x24.png +0 -0
- data/public/images/icons/note_find/note_find_32x32.png +0 -0
- data/public/images/icons/note_find/note_find_48x48.png +0 -0
- data/public/images/icons/note_information/note_information_16x16.png +0 -0
- data/public/images/icons/note_information/note_information_24x24.png +0 -0
- data/public/images/icons/note_information/note_information_32x32.png +0 -0
- data/public/images/icons/note_information/note_information_48x48.png +0 -0
- data/public/images/icons/note_new/note_new_16x16.png +0 -0
- data/public/images/icons/note_new/note_new_24x24.png +0 -0
- data/public/images/icons/note_new/note_new_32x32.png +0 -0
- data/public/images/icons/note_new/note_new_48x48.png +0 -0
- data/public/images/icons/note_ok/note_ok_16x16.png +0 -0
- data/public/images/icons/note_ok/note_ok_24x24.png +0 -0
- data/public/images/icons/note_ok/note_ok_32x32.png +0 -0
- data/public/images/icons/note_ok/note_ok_48x48.png +0 -0
- data/public/images/icons/note_pinned/note_pinned_16x16.png +0 -0
- data/public/images/icons/note_pinned/note_pinned_24x24.png +0 -0
- data/public/images/icons/note_pinned/note_pinned_32x32.png +0 -0
- data/public/images/icons/note_pinned/note_pinned_48x48.png +0 -0
- data/public/images/icons/note_plain/note_plain_16x16.png +0 -0
- data/public/images/icons/note_plain/note_plain_24x24.png +0 -0
- data/public/images/icons/note_plain/note_plain_32x32.png +0 -0
- data/public/images/icons/note_plain/note_plain_48x48.png +0 -0
- data/public/images/icons/note_view/note_view_16x16.png +0 -0
- data/public/images/icons/note_view/note_view_24x24.png +0 -0
- data/public/images/icons/note_view/note_view_32x32.png +0 -0
- data/public/images/icons/note_view/note_view_48x48.png +0 -0
- data/public/images/icons/note_warning/note_warning_16x16.png +0 -0
- data/public/images/icons/note_warning/note_warning_24x24.png +0 -0
- data/public/images/icons/note_warning/note_warning_32x32.png +0 -0
- data/public/images/icons/note_warning/note_warning_48x48.png +0 -0
- data/public/images/icons/open/open_16x16.png +0 -0
- data/public/images/icons/open/open_24x24.png +0 -0
- data/public/images/icons/open/open_32x32.png +0 -0
- data/public/images/icons/open/open_48x48.png +0 -0
- data/public/images/icons/palette/palette_16x16.png +0 -0
- data/public/images/icons/palette/palette_24x24.png +0 -0
- data/public/images/icons/palette/palette_32x32.png +0 -0
- data/public/images/icons/palette/palette_48x48.png +0 -0
- data/public/images/icons/paperclip/paperclip_16x16.png +0 -0
- data/public/images/icons/paperclip/paperclip_24x24.png +0 -0
- data/public/images/icons/paperclip/paperclip_32x32.png +0 -0
- data/public/images/icons/paperclip/paperclip_48x48.png +0 -0
- data/public/images/icons/paste/paste_16x16.png +0 -0
- data/public/images/icons/paste/paste_24x24.png +0 -0
- data/public/images/icons/paste/paste_32x32.png +0 -0
- data/public/images/icons/paste/paste_48x48.png +0 -0
- data/public/images/icons/picture/picture_24x24.png +0 -0
- data/public/images/icons/picture/picture_32x32.png +0 -0
- data/public/images/icons/picture/picture_48x48.png +0 -0
- data/public/images/icons/presentation/presentation_16x16.png +0 -0
- data/public/images/icons/presentation/presentation_24x24.png +0 -0
- data/public/images/icons/presentation/presentation_32x32.png +0 -0
- data/public/images/icons/presentation/presentation_48x48.png +0 -0
- data/public/images/icons/presentation_chart/presentation_chart_16x16.png +0 -0
- data/public/images/icons/presentation_chart/presentation_chart_24x24.png +0 -0
- data/public/images/icons/presentation_chart/presentation_chart_32x32.png +0 -0
- data/public/images/icons/presentation_chart/presentation_chart_48x48.png +0 -0
- data/public/images/icons/previous/previous_16x16.png +0 -0
- data/public/images/icons/previous/previous_24x24.png +0 -0
- data/public/images/icons/previous/previous_32x32.png +0 -0
- data/public/images/icons/previous/previous_48x48.png +0 -0
- data/public/images/icons/print/print_16x16.png +0 -0
- data/public/images/icons/print/print_24x24.png +0 -0
- data/public/images/icons/print/print_32x32.png +0 -0
- data/public/images/icons/print/print_48x48.png +0 -0
- data/public/images/icons/printer/printer_16x16.png +0 -0
- data/public/images/icons/printer/printer_24x24.png +0 -0
- data/public/images/icons/printer/printer_32x32.png +0 -0
- data/public/images/icons/printer/printer_48x48.png +0 -0
- data/public/images/icons/prodconfig/Prodconfig_16x16.png +0 -0
- data/public/images/icons/prodconfig/Prodconfig_256x256.png +0 -0
- data/public/images/icons/prodconfig/Prodconfig_32x32.png +0 -0
- data/public/images/icons/prodconfig/Prodconfig_48x48.png +0 -0
- data/public/images/icons/question_and_answer/question_and_answer_16x16.png +0 -0
- data/public/images/icons/question_and_answer/question_and_answer_24x24.png +0 -0
- data/public/images/icons/question_and_answer/question_and_answer_32x32.png +0 -0
- data/public/images/icons/question_and_answer/question_and_answer_48x48.png +0 -0
- data/public/images/icons/replace/replace_16x16.png +0 -0
- data/public/images/icons/replace/replace_24x24.png +0 -0
- data/public/images/icons/replace/replace_32x32.png +0 -0
- data/public/images/icons/replace/replace_48x48.png +0 -0
- data/public/images/icons/scroll/scroll_16x16.png +0 -0
- data/public/images/icons/scroll/scroll_24x24.png +0 -0
- data/public/images/icons/scroll/scroll_32x32.png +0 -0
- data/public/images/icons/scroll/scroll_48x48.png +0 -0
- data/public/images/icons/send/send_16x16.png +0 -0
- data/public/images/icons/send/send_24x24.png +0 -0
- data/public/images/icons/send/send_32x32.png +0 -0
- data/public/images/icons/send/send_48x48.png +0 -0
- data/public/images/icons/settings/settings_24x24.png +0 -0
- data/public/images/icons/settings/settings_32x32.png +0 -0
- data/public/images/icons/settings/settings_48x48.png +0 -0
- data/public/images/icons/shoppingbasket/shoppingbasket_16x16.png +0 -0
- data/public/images/icons/shoppingbasket/shoppingbasket_24x24.png +0 -0
- data/public/images/icons/shoppingbasket/shoppingbasket_32x32.png +0 -0
- data/public/images/icons/shoppingbasket/shoppingbasket_48x48.png +0 -0
- data/public/images/icons/shoppingbasket_add/shoppingbasket_add_16x16.png +0 -0
- data/public/images/icons/shoppingbasket_add/shoppingbasket_add_24x24.png +0 -0
- data/public/images/icons/shoppingbasket_add/shoppingbasket_add_32x32.png +0 -0
- data/public/images/icons/shoppingbasket_add/shoppingbasket_add_48x48.png +0 -0
- data/public/images/icons/shoppingbasket_delete/shoppingbasket_delete_16x16.png +0 -0
- data/public/images/icons/shoppingbasket_delete/shoppingbasket_delete_24x24.png +0 -0
- data/public/images/icons/shoppingbasket_delete/shoppingbasket_delete_32x32.png +0 -0
- data/public/images/icons/shoppingbasket_delete/shoppingbasket_delete_48x48.png +0 -0
- data/public/images/icons/shoppingbasket_edit/shoppingbasket_edit_16x16.png +0 -0
- data/public/images/icons/shoppingbasket_edit/shoppingbasket_edit_24x24.png +0 -0
- data/public/images/icons/shoppingbasket_edit/shoppingbasket_edit_32x32.png +0 -0
- data/public/images/icons/shoppingbasket_edit/shoppingbasket_edit_48x48.png +0 -0
- data/public/images/icons/shoppingbasket_full/shoppingbasket_full_16x16.png +0 -0
- data/public/images/icons/shoppingbasket_full/shoppingbasket_full_24x24.png +0 -0
- data/public/images/icons/shoppingbasket_full/shoppingbasket_full_32x32.png +0 -0
- data/public/images/icons/shoppingbasket_full/shoppingbasket_full_48x48.png +0 -0
- data/public/images/icons/shoppingcart/shoppingcart_16x16.png +0 -0
- data/public/images/icons/shoppingcart/shoppingcart_24x24.png +0 -0
- data/public/images/icons/shoppingcart/shoppingcart_32x32.png +0 -0
- data/public/images/icons/shoppingcart/shoppingcart_48x48.png +0 -0
- data/public/images/icons/shoppingcart_add/shoppingcart_add_16x16.png +0 -0
- data/public/images/icons/shoppingcart_add/shoppingcart_add_24x24.png +0 -0
- data/public/images/icons/shoppingcart_add/shoppingcart_add_32x32.png +0 -0
- data/public/images/icons/shoppingcart_add/shoppingcart_add_48x48.png +0 -0
- data/public/images/icons/shoppingcart_delete/shoppingcart_delete_16x16.png +0 -0
- data/public/images/icons/shoppingcart_delete/shoppingcart_delete_24x24.png +0 -0
- data/public/images/icons/shoppingcart_delete/shoppingcart_delete_32x32.png +0 -0
- data/public/images/icons/shoppingcart_delete/shoppingcart_delete_48x48.png +0 -0
- data/public/images/icons/shoppingcart_edit/shoppingcart_edit_16x16.png +0 -0
- data/public/images/icons/shoppingcart_edit/shoppingcart_edit_24x24.png +0 -0
- data/public/images/icons/shoppingcart_edit/shoppingcart_edit_32x32.png +0 -0
- data/public/images/icons/shoppingcart_edit/shoppingcart_edit_48x48.png +0 -0
- data/public/images/icons/shoppingcart_full/shoppingcart_full_16x16.png +0 -0
- data/public/images/icons/shoppingcart_full/shoppingcart_full_24x24.png +0 -0
- data/public/images/icons/shoppingcart_full/shoppingcart_full_32x32.png +0 -0
- data/public/images/icons/shoppingcart_full/shoppingcart_full_48x48.png +0 -0
- data/public/images/icons/sort_ascending/sort_ascending_16x16.png +0 -0
- data/public/images/icons/sort_ascending/sort_ascending_24x24.png +0 -0
- data/public/images/icons/sort_ascending/sort_ascending_32x32.png +0 -0
- data/public/images/icons/sort_ascending/sort_ascending_48x48.png +0 -0
- data/public/images/icons/sort_az_ascending/sort_az_ascending_16x16.png +0 -0
- data/public/images/icons/sort_az_ascending/sort_az_ascending_24x24.png +0 -0
- data/public/images/icons/sort_az_ascending/sort_az_ascending_32x32.png +0 -0
- data/public/images/icons/sort_az_ascending/sort_az_ascending_48x48.png +0 -0
- data/public/images/icons/sort_az_descending/sort_az_descending_16x16.png +0 -0
- data/public/images/icons/sort_az_descending/sort_az_descending_24x24.png +0 -0
- data/public/images/icons/sort_az_descending/sort_az_descending_32x32.png +0 -0
- data/public/images/icons/sort_az_descending/sort_az_descending_48x48.png +0 -0
- data/public/images/icons/sort_descending/sort_descending_16x16.png +0 -0
- data/public/images/icons/sort_descending/sort_descending_24x24.png +0 -0
- data/public/images/icons/sort_descending/sort_descending_32x32.png +0 -0
- data/public/images/icons/sort_descending/sort_descending_48x48.png +0 -0
- data/public/images/icons/sort_down/sort_down_16x16.png +0 -0
- data/public/images/icons/sort_down/sort_down_24x24.png +0 -0
- data/public/images/icons/sort_down/sort_down_32x32.png +0 -0
- data/public/images/icons/sort_down/sort_down_48x48.png +0 -0
- data/public/images/icons/sort_up/sort_up_16x16.png +0 -0
- data/public/images/icons/sort_up/sort_up_24x24.png +0 -0
- data/public/images/icons/sort_up/sort_up_32x32.png +0 -0
- data/public/images/icons/sort_up/sort_up_48x48.png +0 -0
- data/public/images/icons/spellcheck/spellcheck_16x16.png +0 -0
- data/public/images/icons/spellcheck/spellcheck_24x24.png +0 -0
- data/public/images/icons/spellcheck/spellcheck_32x32.png +0 -0
- data/public/images/icons/spellcheck/spellcheck_48x48.png +0 -0
- data/public/images/icons/synchronize/synchronize_16x16.png +0 -0
- data/public/images/icons/synchronize/synchronize_24x24.png +0 -0
- data/public/images/icons/synchronize/synchronize_32x32.png +0 -0
- data/public/images/icons/synchronize/synchronize_48x48.png +0 -0
- data/public/images/icons/toolbar/class.png +0 -0
- data/public/images/icons/toolbar/class_folder.png +0 -0
- data/public/images/icons/toolbar/mixed_folder.png +0 -0
- data/public/images/icons/toolbar/object_graph.png +0 -0
- data/public/images/icons/toolbar/package_yellow.png +0 -0
- data/public/images/icons/toolbar/table_go.png +0 -0
- data/public/images/icons/undo/undo_24x24.png +0 -0
- data/public/images/icons/undo/undo_32x32.png +0 -0
- data/public/images/icons/undo/undo_48x48.png +0 -0
- data/public/images/icons/upload/upload_16x16.png +0 -0
- data/public/images/icons/upload/upload_24x24.png +0 -0
- data/public/images/icons/upload/upload_32x32.png +0 -0
- data/public/images/icons/upload/upload_48x48.png +0 -0
- data/public/images/icons/user/user_24x24.png +0 -0
- data/public/images/icons/user/user_32x32.png +0 -0
- data/public/images/icons/user/user_48x48.png +0 -0
- data/public/images/icons/warning/warning_16x16.png +0 -0
- data/public/images/icons/warning/warning_24x24.png +0 -0
- data/public/images/icons/warning/warning_32x32.png +0 -0
- data/public/images/icons/warning/warning_48x48.png +0 -0
- data/public/images/icons/zoom_in/zoom_in_16x16.png +0 -0
- data/public/images/icons/zoom_in/zoom_in_24x24.png +0 -0
- data/public/images/icons/zoom_in/zoom_in_32x32.png +0 -0
- data/public/images/icons/zoom_in/zoom_in_48x48.png +0 -0
- data/public/images/icons/zoom_out/zoom_out_16x16.png +0 -0
- data/public/images/icons/zoom_out/zoom_out_24x24.png +0 -0
- data/public/images/icons/zoom_out/zoom_out_32x32.png +0 -0
- data/public/images/icons/zoom_out/zoom_out_48x48.png +0 -0
- data/public/images/wallpaper/blue.gif +0 -0
- data/public/javascripts/erp_app/authentication/widget_manager.js +0 -119
- data/public/javascripts/erp_app/ckeditor/lang/_languages.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/_translationstatus.txt +0 -64
- data/public/javascripts/erp_app/ckeditor/lang/af.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/ar.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/bg.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/bn.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/bs.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/ca.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/cs.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/cy.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/da.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/de.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/el.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/en-au.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/en-ca.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/en-gb.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/eo.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/es.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/et.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/eu.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/fa.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/fi.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/fo.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/fr-ca.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/fr.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/gl.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/gu.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/he.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/hi.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/hr.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/hu.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/id.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/is.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/it.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/ja.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/ka.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/km.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/ko.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/lt.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/lv.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/mk.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/mn.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/ms.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/nb.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/nl.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/no.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/pl.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/pt-br.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/pt.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/ro.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/ru.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/sk.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/sl.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/sr-latn.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/sr.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/sv.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/th.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/tr.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/ug.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/uk.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/vi.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/zh-cn.js +0 -6
- data/public/javascripts/erp_app/ckeditor/lang/zh.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/_translationstatus.txt +0 -25
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/cs.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/cy.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/da.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/de.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/el.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/en.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/eo.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/fa.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/fi.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/fr.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/gu.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/he.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/it.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/mk.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/nb.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/nl.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/no.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/pt-br.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/ro.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/tr.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/ug.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/vi.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/zh-cn.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/adobeair/plugin.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/ajax/plugin.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/autogrow/plugin.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/bbcode/plugin.js +0 -9
- data/public/javascripts/erp_app/ckeditor/plugins/compassupload/plugin.js +0 -21
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/_translationstatus.txt +0 -28
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/bg.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/cs.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/cy.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/da.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/de.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/el.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/en.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/eo.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/et.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/fa.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/fi.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/fr.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/gu.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/he.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/hr.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/it.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/nb.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/nl.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/no.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/pl.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/pt-br.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/tr.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/ug.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/uk.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/vi.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/zh-cn.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/devtools/plugin.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/docprops/dialogs/docprops.js +0 -10
- data/public/javascripts/erp_app/ckeditor/plugins/docprops/plugin.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/iframedialog/plugin.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/link/images/anchor.gif +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/dialogs/placeholder.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/_translationstatus.txt +0 -27
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/bg.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/cs.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/cy.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/da.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/de.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/el.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/en.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/eo.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/et.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/fa.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/fi.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/fr.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/he.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/hr.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/it.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/nb.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/nl.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/no.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/pl.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/pt-br.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/tr.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/ug.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/uk.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/vi.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/zh-cn.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/placeholder.gif +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/placeholder/plugin.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/codemirror_config.js +0 -85
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/editor.css +0 -96
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/buttonbg.gif +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/cancel.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/highlight.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/redo.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/reindent.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/save.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/search.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/undo.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/nocolors.css +0 -24
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/LICENSE +0 -23
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/bigtest.html +0 -1296
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/compress.html +0 -169
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/csharp/css/csharpcolors.css +0 -60
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/csharp/index.html +0 -61
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/csharp/js/parsecsharp.js +0 -329
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/csharp/js/tokenizecsharp.js +0 -196
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/freemarker/LICENSE +0 -24
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/freemarker/css/freemarkercolors.css +0 -63
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/freemarker/index.html +0 -75
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/freemarker/js/parsefreemarker.js +0 -380
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/groovy/index.html +0 -57
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/LICENSE +0 -20
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/css/javacolors.css +0 -64
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/index.html +0 -66
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/js/parsejava.js +0 -285
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/js/tokenizejava.js +0 -222
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/lua/LICENSE +0 -32
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/lua/css/luacolors.css +0 -63
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/lua/index.html +0 -68
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/lua/js/parselua.js +0 -254
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/LICENSE +0 -23
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/css/ometacolors.css +0 -63
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/index.html +0 -77
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/js/parseometa.js +0 -364
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/js/tokenizeometa.js +0 -209
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/LICENSE +0 -37
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/css/phpcolors.css +0 -114
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/index.html +0 -310
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/js/parsephp.js +0 -419
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/js/parsephphtmlmixed.js +0 -116
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/js/tokenizephp.js +0 -1208
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/plsql/LICENSE +0 -22
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/plsql/css/plsqlcolors.css +0 -57
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/plsql/index.html +0 -67
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/plsql/js/parseplsql.js +0 -233
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/python/LICENSE +0 -32
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/python/css/pythoncolors.css +0 -58
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/python/index.html +0 -141
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/python/js/parsepython.js +0 -541
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/css/js-regexcolors.css +0 -214
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/css/regexcolors.css +0 -214
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/index.html +0 -114
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/js/parsejavascript_and_regex.js +0 -91
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/js/parseregex-unicode.js +0 -284
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/js/parseregex.js +0 -847
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/js-regex.html +0 -118
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/LICENSE +0 -23
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/css/schemecolors.css +0 -45
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/index.html +0 -82
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/js/parsescheme.js +0 -428
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/js/tokenizescheme.js +0 -241
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/sql/LICENSE +0 -22
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/sql/css/sqlcolors.css +0 -59
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/sql/index.html +0 -56
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/sql/js/parsesql.js +0 -267
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/LICENSE +0 -13
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/css/xqcolors-dark.css +0 -93
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/css/xqcolors.css +0 -99
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/css/xqcolors2.css +0 -96
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/index.html +0 -552
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/js/parsexquery.js +0 -234
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/js/tokenizexquery.js +0 -457
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/baboon.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/baboon_vector.ai +3 -962
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/csscolors.css +0 -55
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/docs.css +0 -158
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/font.js +0 -15
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/jscolors.css +0 -59
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/people.jpg +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/sparqlcolors.css +0 -43
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/xmlcolors.css +0 -55
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/csstest.html +0 -60
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/faq.html +0 -86
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/favicon.ico +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/googleb196c451afc2ee11.html +0 -1
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/googlehostedservice.html +0 -1
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/highlight.html +0 -82
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/htmltest.html +0 -53
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/index.html +0 -254
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/codemirror.js +0 -582
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/editor.js +0 -1670
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/highlight.js +0 -68
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/mirrorframe.js +0 -81
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsecss.js +0 -161
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsedummy.js +0 -32
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsehtmlmixed.js +0 -93
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsejavascript.js +0 -359
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsesparql.js +0 -162
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsexml.js +0 -291
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/select.js +0 -697
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/stringstream.js +0 -159
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/tokenize.js +0 -57
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/tokenizejavascript.js +0 -174
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/undo.js +0 -413
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/unittests.js +0 -44
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/util.js +0 -133
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/jstest.html +0 -56
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/manual.html +0 -806
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/mixedtest.html +0 -52
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/sparqltest.html +0 -41
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/story.html +0 -672
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/unittests.html +0 -125
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/xhtmltest.xhtml +0 -50
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/lang/de.js +0 -20
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/lang/en.js +0 -20
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/dialogs/sourcepopup.js +0 -102
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/lang/de.js +0 -9
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/lang/en.js +0 -9
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/plugin.js +0 -27
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/_translationstatus.txt +0 -22
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/cs.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/cy.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/de.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/el.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/en.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/eo.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/et.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/fa.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/fi.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/fr.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/he.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/hr.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/it.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/nb.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/nl.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/no.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/pt-br.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/tr.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/ug.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/zh-cn.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/styles/styles/default.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/stylesheetparser/plugin.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/tableresize/plugin.js +0 -7
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/dialogs/uicolor.js +0 -7
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/_translationstatus.txt +0 -28
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/bg.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/cs.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/cy.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/da.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/de.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/el.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/en.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/eo.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/et.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/fa.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/fi.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/fr.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/he.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/hr.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/it.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/mk.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/nb.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/nl.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/no.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/pl.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/pt-br.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/tr.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/ug.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/uk.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/vi.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/zh-cn.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/plugin.js +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/uicolor.gif +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/yui/assets/yui.css +0 -6
- data/public/javascripts/erp_app/ckeditor/plugins/uicolor/yui/yui.js +0 -76
- data/public/javascripts/erp_app/ckeditor/plugins/xml/plugin.js +0 -6
- data/public/javascripts/erp_app/ckeditor/skins/kama/dialog.css +0 -10
- data/public/javascripts/erp_app/ckeditor/skins/kama/editor.css +0 -13
- data/public/javascripts/erp_app/ckeditor/skins/kama/icons.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/kama/icons_rtl.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/kama/images/dialog_sides.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/kama/images/mini.gif +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/kama/images/sprites.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/kama/skin.js +0 -7
- data/public/javascripts/erp_app/ckeditor/skins/kama/templates.css +0 -6
- data/public/javascripts/erp_app/ckeditor/skins/office2003/dialog.css +0 -10
- data/public/javascripts/erp_app/ckeditor/skins/office2003/editor.css +0 -14
- data/public/javascripts/erp_app/ckeditor/skins/office2003/icons.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/office2003/icons_rtl.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/office2003/images/mini.gif +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/office2003/images/noimage.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/office2003/images/sprites.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/office2003/skin.js +0 -6
- data/public/javascripts/erp_app/ckeditor/skins/office2003/templates.css +0 -6
- data/public/javascripts/erp_app/ckeditor/skins/v2/dialog.css +0 -9
- data/public/javascripts/erp_app/ckeditor/skins/v2/editor.css +0 -13
- data/public/javascripts/erp_app/ckeditor/skins/v2/icons.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/v2/icons_rtl.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/v2/images/dialog_sides.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/v2/images/mini.gif +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/v2/images/noimage.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/v2/images/sprites.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
- data/public/javascripts/erp_app/ckeditor/skins/v2/skin.js +0 -6
- data/public/javascripts/erp_app/ckeditor/skins/v2/templates.css +0 -6
- data/public/javascripts/erp_app/ckeditor/themes/default/theme.js +0 -8
- data/public/javascripts/erp_app/codemirror/LICENSE +0 -23
- data/public/javascripts/erp_app/codemirror/README.md +0 -8
- data/public/javascripts/erp_app/codemirror/doc/baboon.png +0 -0
- data/public/javascripts/erp_app/codemirror/doc/baboon_vector.svg +0 -153
- data/public/javascripts/erp_app/codemirror/doc/compress.html +0 -165
- data/public/javascripts/erp_app/codemirror/doc/docs.css +0 -165
- data/public/javascripts/erp_app/codemirror/doc/internals.html +0 -497
- data/public/javascripts/erp_app/codemirror/doc/manual.html +0 -1231
- data/public/javascripts/erp_app/codemirror/doc/oldrelease.html +0 -356
- data/public/javascripts/erp_app/codemirror/doc/realworld.html +0 -72
- data/public/javascripts/erp_app/codemirror/doc/reporting.html +0 -60
- data/public/javascripts/erp_app/codemirror/doc/upgrade_v2.2.html +0 -98
- data/public/javascripts/erp_app/codemirror/keymap/emacs.js +0 -29
- data/public/javascripts/erp_app/codemirror/keymap/vim.js +0 -788
- data/public/javascripts/erp_app/codemirror/lib/util/closetag.js +0 -164
- data/public/javascripts/erp_app/codemirror/lib/util/dialog.css +0 -27
- data/public/javascripts/erp_app/codemirror/lib/util/dialog.js +0 -70
- data/public/javascripts/erp_app/codemirror/lib/util/foldcode.js +0 -196
- data/public/javascripts/erp_app/codemirror/lib/util/formatting.js +0 -193
- data/public/javascripts/erp_app/codemirror/lib/util/javascript-hint.js +0 -134
- data/public/javascripts/erp_app/codemirror/lib/util/loadmode.js +0 -51
- data/public/javascripts/erp_app/codemirror/lib/util/match-highlighter.js +0 -44
- data/public/javascripts/erp_app/codemirror/lib/util/multiplex.js +0 -77
- data/public/javascripts/erp_app/codemirror/lib/util/overlay.js +0 -59
- data/public/javascripts/erp_app/codemirror/lib/util/pig-hint.js +0 -123
- data/public/javascripts/erp_app/codemirror/lib/util/runmode-standalone.js +0 -90
- data/public/javascripts/erp_app/codemirror/lib/util/runmode.js +0 -53
- data/public/javascripts/erp_app/codemirror/lib/util/search.js +0 -118
- data/public/javascripts/erp_app/codemirror/lib/util/searchcursor.js +0 -119
- data/public/javascripts/erp_app/codemirror/lib/util/simple-hint.css +0 -16
- data/public/javascripts/erp_app/codemirror/lib/util/simple-hint.js +0 -102
- data/public/javascripts/erp_app/codemirror/lib/util/xml-hint.js +0 -137
- data/public/javascripts/erp_app/codemirror/mode/clike/clike.js +0 -285
- data/public/javascripts/erp_app/codemirror/mode/clike/index.html +0 -102
- data/public/javascripts/erp_app/codemirror/mode/clike/scala.html +0 -766
- data/public/javascripts/erp_app/codemirror/mode/clojure/clojure.js +0 -206
- data/public/javascripts/erp_app/codemirror/mode/clojure/index.html +0 -67
- data/public/javascripts/erp_app/codemirror/mode/coffeescript/LICENSE +0 -22
- data/public/javascripts/erp_app/codemirror/mode/coffeescript/coffeescript.js +0 -346
- data/public/javascripts/erp_app/codemirror/mode/coffeescript/index.html +0 -728
- data/public/javascripts/erp_app/codemirror/mode/commonlisp/commonlisp.js +0 -101
- data/public/javascripts/erp_app/codemirror/mode/commonlisp/index.html +0 -165
- data/public/javascripts/erp_app/codemirror/mode/css/css.js +0 -448
- data/public/javascripts/erp_app/codemirror/mode/css/index.html +0 -58
- data/public/javascripts/erp_app/codemirror/mode/css/test.js +0 -501
- data/public/javascripts/erp_app/codemirror/mode/diff/diff.js +0 -32
- data/public/javascripts/erp_app/codemirror/mode/diff/index.html +0 -105
- data/public/javascripts/erp_app/codemirror/mode/ecl/ecl.js +0 -203
- data/public/javascripts/erp_app/codemirror/mode/ecl/index.html +0 -42
- data/public/javascripts/erp_app/codemirror/mode/erlang/erlang.js +0 -463
- data/public/javascripts/erp_app/codemirror/mode/erlang/index.html +0 -63
- data/public/javascripts/erp_app/codemirror/mode/gfm/gfm.js +0 -94
- data/public/javascripts/erp_app/codemirror/mode/gfm/index.html +0 -71
- data/public/javascripts/erp_app/codemirror/mode/gfm/test.js +0 -225
- data/public/javascripts/erp_app/codemirror/mode/go/go.js +0 -170
- data/public/javascripts/erp_app/codemirror/mode/go/index.html +0 -73
- data/public/javascripts/erp_app/codemirror/mode/groovy/groovy.js +0 -210
- data/public/javascripts/erp_app/codemirror/mode/groovy/index.html +0 -72
- data/public/javascripts/erp_app/codemirror/mode/haskell/haskell.js +0 -242
- data/public/javascripts/erp_app/codemirror/mode/haskell/index.html +0 -61
- data/public/javascripts/erp_app/codemirror/mode/haxe/haxe.js +0 -429
- data/public/javascripts/erp_app/codemirror/mode/haxe/index.html +0 -91
- data/public/javascripts/erp_app/codemirror/mode/htmlembedded/htmlembedded.js +0 -73
- data/public/javascripts/erp_app/codemirror/mode/htmlembedded/index.html +0 -50
- data/public/javascripts/erp_app/codemirror/mode/htmlmixed/htmlmixed.js +0 -84
- data/public/javascripts/erp_app/codemirror/mode/htmlmixed/index.html +0 -52
- data/public/javascripts/erp_app/codemirror/mode/javascript/index.html +0 -85
- data/public/javascripts/erp_app/codemirror/mode/javascript/javascript.js +0 -409
- data/public/javascripts/erp_app/codemirror/mode/javascript/typescript.html +0 -48
- data/public/javascripts/erp_app/codemirror/mode/jinja2/index.html +0 -38
- data/public/javascripts/erp_app/codemirror/mode/jinja2/jinja2.js +0 -42
- data/public/javascripts/erp_app/codemirror/mode/less/index.html +0 -740
- data/public/javascripts/erp_app/codemirror/mode/less/less.js +0 -266
- data/public/javascripts/erp_app/codemirror/mode/lua/index.html +0 -73
- data/public/javascripts/erp_app/codemirror/mode/lua/lua.js +0 -140
- data/public/javascripts/erp_app/codemirror/mode/markdown/index.html +0 -343
- data/public/javascripts/erp_app/codemirror/mode/markdown/markdown.js +0 -481
- data/public/javascripts/erp_app/codemirror/mode/markdown/test.js +0 -1266
- data/public/javascripts/erp_app/codemirror/mode/mysql/index.html +0 -42
- data/public/javascripts/erp_app/codemirror/mode/mysql/mysql.js +0 -186
- data/public/javascripts/erp_app/codemirror/mode/ntriples/index.html +0 -33
- data/public/javascripts/erp_app/codemirror/mode/ntriples/ntriples.js +0 -172
- data/public/javascripts/erp_app/codemirror/mode/ocaml/index.html +0 -130
- data/public/javascripts/erp_app/codemirror/mode/ocaml/ocaml.js +0 -114
- data/public/javascripts/erp_app/codemirror/mode/pascal/LICENSE +0 -7
- data/public/javascripts/erp_app/codemirror/mode/pascal/index.html +0 -49
- data/public/javascripts/erp_app/codemirror/mode/pascal/pascal.js +0 -94
- data/public/javascripts/erp_app/codemirror/mode/perl/LICENSE +0 -19
- data/public/javascripts/erp_app/codemirror/mode/perl/index.html +0 -63
- data/public/javascripts/erp_app/codemirror/mode/perl/perl.js +0 -816
- data/public/javascripts/erp_app/codemirror/mode/php/index.html +0 -49
- data/public/javascripts/erp_app/codemirror/mode/php/php.js +0 -148
- data/public/javascripts/erp_app/codemirror/mode/pig/index.html +0 -43
- data/public/javascripts/erp_app/codemirror/mode/pig/pig.js +0 -172
- data/public/javascripts/erp_app/codemirror/mode/plsql/index.html +0 -63
- data/public/javascripts/erp_app/codemirror/mode/plsql/plsql.js +0 -217
- data/public/javascripts/erp_app/codemirror/mode/properties/index.html +0 -41
- data/public/javascripts/erp_app/codemirror/mode/properties/properties.js +0 -63
- data/public/javascripts/erp_app/codemirror/mode/python/LICENSE.txt +0 -21
- data/public/javascripts/erp_app/codemirror/mode/python/index.html +0 -123
- data/public/javascripts/erp_app/codemirror/mode/python/python.js +0 -338
- data/public/javascripts/erp_app/codemirror/mode/r/LICENSE +0 -24
- data/public/javascripts/erp_app/codemirror/mode/r/index.html +0 -74
- data/public/javascripts/erp_app/codemirror/mode/r/r.js +0 -141
- data/public/javascripts/erp_app/codemirror/mode/rpm/changes/changes.js +0 -19
- data/public/javascripts/erp_app/codemirror/mode/rpm/changes/index.html +0 -54
- data/public/javascripts/erp_app/codemirror/mode/rpm/spec/index.html +0 -100
- data/public/javascripts/erp_app/codemirror/mode/rpm/spec/spec.css +0 -5
- data/public/javascripts/erp_app/codemirror/mode/rpm/spec/spec.js +0 -66
- data/public/javascripts/erp_app/codemirror/mode/rst/index.html +0 -526
- data/public/javascripts/erp_app/codemirror/mode/rst/rst.js +0 -326
- data/public/javascripts/erp_app/codemirror/mode/ruby/LICENSE +0 -24
- data/public/javascripts/erp_app/codemirror/mode/ruby/index.html +0 -172
- data/public/javascripts/erp_app/codemirror/mode/ruby/ruby.js +0 -195
- data/public/javascripts/erp_app/codemirror/mode/rust/index.html +0 -49
- data/public/javascripts/erp_app/codemirror/mode/rust/rust.js +0 -432
- data/public/javascripts/erp_app/codemirror/mode/scheme/index.html +0 -65
- data/public/javascripts/erp_app/codemirror/mode/scheme/scheme.js +0 -230
- data/public/javascripts/erp_app/codemirror/mode/shell/index.html +0 -50
- data/public/javascripts/erp_app/codemirror/mode/shell/shell.js +0 -118
- data/public/javascripts/erp_app/codemirror/mode/sieve/LICENSE +0 -23
- data/public/javascripts/erp_app/codemirror/mode/sieve/index.html +0 -81
- data/public/javascripts/erp_app/codemirror/mode/sieve/sieve.js +0 -156
- data/public/javascripts/erp_app/codemirror/mode/smalltalk/index.html +0 -56
- data/public/javascripts/erp_app/codemirror/mode/smalltalk/smalltalk.js +0 -139
- data/public/javascripts/erp_app/codemirror/mode/smarty/index.html +0 -83
- data/public/javascripts/erp_app/codemirror/mode/smarty/smarty.js +0 -148
- data/public/javascripts/erp_app/codemirror/mode/sparql/index.html +0 -41
- data/public/javascripts/erp_app/codemirror/mode/sparql/sparql.js +0 -143
- data/public/javascripts/erp_app/codemirror/mode/stex/index.html +0 -98
- data/public/javascripts/erp_app/codemirror/mode/stex/stex.js +0 -182
- data/public/javascripts/erp_app/codemirror/mode/stex/test.js +0 -343
- data/public/javascripts/erp_app/codemirror/mode/tiddlywiki/index.html +0 -141
- data/public/javascripts/erp_app/codemirror/mode/tiddlywiki/tiddlywiki.css +0 -14
- data/public/javascripts/erp_app/codemirror/mode/tiddlywiki/tiddlywiki.js +0 -384
- data/public/javascripts/erp_app/codemirror/mode/tiki/index.html +0 -83
- data/public/javascripts/erp_app/codemirror/mode/tiki/tiki.css +0 -26
- data/public/javascripts/erp_app/codemirror/mode/tiki/tiki.js +0 -309
- data/public/javascripts/erp_app/codemirror/mode/vb/LICENSE.txt +0 -21
- data/public/javascripts/erp_app/codemirror/mode/vb/index.html +0 -89
- data/public/javascripts/erp_app/codemirror/mode/vb/vb.js +0 -260
- data/public/javascripts/erp_app/codemirror/mode/vbscript/index.html +0 -43
- data/public/javascripts/erp_app/codemirror/mode/vbscript/vbscript.js +0 -26
- data/public/javascripts/erp_app/codemirror/mode/velocity/index.html +0 -104
- data/public/javascripts/erp_app/codemirror/mode/velocity/velocity.js +0 -146
- data/public/javascripts/erp_app/codemirror/mode/verilog/index.html +0 -211
- data/public/javascripts/erp_app/codemirror/mode/verilog/verilog.js +0 -194
- data/public/javascripts/erp_app/codemirror/mode/xml/index.html +0 -45
- data/public/javascripts/erp_app/codemirror/mode/xml/xml.js +0 -318
- data/public/javascripts/erp_app/codemirror/mode/xquery/LICENSE +0 -20
- data/public/javascripts/erp_app/codemirror/mode/xquery/index.html +0 -223
- data/public/javascripts/erp_app/codemirror/mode/xquery/test/index.html +0 -27
- data/public/javascripts/erp_app/codemirror/mode/xquery/test/testBase.js +0 -42
- data/public/javascripts/erp_app/codemirror/mode/xquery/test/testEmptySequenceKeyword.js +0 -16
- data/public/javascripts/erp_app/codemirror/mode/xquery/test/testMultiAttr.js +0 -16
- data/public/javascripts/erp_app/codemirror/mode/xquery/test/testNamespaces.js +0 -91
- data/public/javascripts/erp_app/codemirror/mode/xquery/test/testProcessingInstructions.js +0 -16
- data/public/javascripts/erp_app/codemirror/mode/xquery/test/testQuotes.js +0 -19
- data/public/javascripts/erp_app/codemirror/mode/xquery/xquery.js +0 -451
- data/public/javascripts/erp_app/codemirror/mode/yaml/index.html +0 -68
- data/public/javascripts/erp_app/codemirror/mode/yaml/yaml.js +0 -95
- data/public/javascripts/erp_app/codemirror/package.json +0 -21
- data/public/javascripts/erp_app/codemirror/test/driver.js +0 -129
- data/public/javascripts/erp_app/codemirror/test/index.html +0 -171
- data/public/javascripts/erp_app/codemirror/test/lint/lint.js +0 -120
- data/public/javascripts/erp_app/codemirror/test/lint/parse-js.js +0 -1372
- data/public/javascripts/erp_app/codemirror/test/mode_test.css +0 -10
- data/public/javascripts/erp_app/codemirror/test/mode_test.js +0 -203
- data/public/javascripts/erp_app/codemirror/test/phantom_driver.js +0 -30
- data/public/javascripts/erp_app/codemirror/test/run.js +0 -32
- data/public/javascripts/erp_app/codemirror/test/test.js +0 -677
- data/public/javascripts/erp_app/desktop/applications/control_panel/application_management_panel.js +0 -109
- data/public/javascripts/erp_app/desktop/applications/control_panel/desktop_management_panel.js +0 -218
- data/public/javascripts/erp_app/organizer/applications/crm/contact_mechanism_grid.js +0 -559
- data/public/javascripts/erp_app/organizer/applications/crm/individual_windows.js +0 -237
- data/public/javascripts/erp_app/organizer/applications/crm/organization_windows.js +0 -167
- data/public/javascripts/erp_app/organizer/applications/crm/party_grid.js +0 -423
- data/public/javascripts/erp_app/organizer/applications/crm/userinfo.js +0 -215
- data/public/javascripts/erp_app/shared/audit_log/audit_log_grid_panel.js +0 -169
- data/public/javascripts/erp_app/shared/audit_log/audit_log_item_grid_panel.js +0 -99
- data/public/javascripts/erp_app/shared/audit_log/audit_log_tab_panel.js +0 -52
- data/public/javascripts/erp_app/shared/coolclock/coolclock.js +0 -314
- data/public/javascripts/erp_app/shared/coolclock/moreskins.js +0 -212
- data/public/javascripts/erp_app/shared/coolclock/tray_clock.js +0 -145
- data/public/javascripts/erp_app/shared/dynamic_forms/dynamic_form_fields.js +0 -99
- data/public/javascripts/erp_app/shared/preference_form.js +0 -155
@@ -1,1296 +0,0 @@
|
|
1
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
2
|
-
<head>
|
3
|
-
<script src="js/codemirror.js" type="text/javascript"></script>
|
4
|
-
<title>CodeMirror: JavaScript demonstration</title>
|
5
|
-
<link rel="stylesheet" type="text/css" href="css/docs.css"/>
|
6
|
-
</head>
|
7
|
-
<body style="padding: 20px;">
|
8
|
-
|
9
|
-
<p>This page demonstrates <a href="index.html">CodeMirror</a>'s
|
10
|
-
JavaScript parser. Note that the ugly buttons at the top are not are
|
11
|
-
not part of CodeMirror proper -- they demonstrate the way it can be
|
12
|
-
embedded in a web-application.</p>
|
13
|
-
|
14
|
-
<div style="border-top: 1px solid black; border-bottom: 1px solid black;">
|
15
|
-
<textarea id="code" cols="120" rows="30">
|
16
|
-
/* The Editor object manages the content of the editable frame. It
|
17
|
-
* catches events, colours nodes, and indents lines. This file also
|
18
|
-
* holds some functions for transforming arbitrary DOM structures into
|
19
|
-
* plain sequences of <span> and <br> elements
|
20
|
-
*/
|
21
|
-
|
22
|
-
// Make sure a string does not contain two consecutive 'collapseable'
|
23
|
-
// whitespace characters.
|
24
|
-
function makeWhiteSpace(n) {
|
25
|
-
var buffer = [], nb = true;
|
26
|
-
for (; n > 0; n--) {
|
27
|
-
buffer.push((nb || n == 1) ? nbsp : " ");
|
28
|
-
nb = !nb;
|
29
|
-
}
|
30
|
-
return buffer.join("");
|
31
|
-
}
|
32
|
-
|
33
|
-
// Create a set of white-space characters that will not be collapsed
|
34
|
-
// by the browser, but will not break text-wrapping either.
|
35
|
-
function fixSpaces(string) {
|
36
|
-
if (string.charAt(0) == " ") string = nbsp + string.slice(1);
|
37
|
-
return string.replace(/[\t \u00a0]{2,}/g, function(s) {return makeWhiteSpace(s.length);});
|
38
|
-
}
|
39
|
-
|
40
|
-
function cleanText(text) {
|
41
|
-
return text.replace(/\u00a0/g, " ").replace(/\u200b/g, "");
|
42
|
-
}
|
43
|
-
|
44
|
-
// Create a SPAN node with the expected properties for document part
|
45
|
-
// spans.
|
46
|
-
function makePartSpan(value, doc) {
|
47
|
-
var text = value;
|
48
|
-
if (value.nodeType == 3) text = value.nodeValue;
|
49
|
-
else value = doc.createTextNode(text);
|
50
|
-
|
51
|
-
var span = doc.createElement("SPAN");
|
52
|
-
span.isPart = true;
|
53
|
-
span.appendChild(value);
|
54
|
-
span.currentText = text;
|
55
|
-
return span;
|
56
|
-
}
|
57
|
-
|
58
|
-
// On webkit, when the last BR of the document does not have text
|
59
|
-
// behind it, the cursor can not be put on the line after it. This
|
60
|
-
// makes pressing enter at the end of the document occasionally do
|
61
|
-
// nothing (or at least seem to do nothing). To work around it, this
|
62
|
-
// function makes sure the document ends with a span containing a
|
63
|
-
// zero-width space character. The traverseDOM iterator filters such
|
64
|
-
// character out again, so that the parsers won't see them. This
|
65
|
-
// function is called from a few strategic places to make sure the
|
66
|
-
// zwsp is restored after the highlighting process eats it.
|
67
|
-
var webkitLastLineHack = webkit ?
|
68
|
-
function(container) {
|
69
|
-
var last = container.lastChild;
|
70
|
-
if (!last || !last.isPart || last.textContent != "\u200b")
|
71
|
-
container.appendChild(makePartSpan("\u200b", container.ownerDocument));
|
72
|
-
} : function() {};
|
73
|
-
|
74
|
-
var Editor = (function(){
|
75
|
-
// The HTML elements whose content should be suffixed by a newline
|
76
|
-
// when converting them to flat text.
|
77
|
-
var newlineElements = {"P": true, "DIV": true, "LI": true};
|
78
|
-
|
79
|
-
function asEditorLines(string) {
|
80
|
-
return fixSpaces(string.replace(/\t/g, " ").replace(/\u00a0/g, " ")).replace(/\r\n?/g, "\n").split("\n");
|
81
|
-
}
|
82
|
-
|
83
|
-
// Helper function for traverseDOM. Flattens an arbitrary DOM node
|
84
|
-
// into an array of textnodes and <br> tags.
|
85
|
-
function simplifyDOM(root) {
|
86
|
-
var doc = root.ownerDocument;
|
87
|
-
var result = [];
|
88
|
-
var leaving = true;
|
89
|
-
|
90
|
-
function simplifyNode(node) {
|
91
|
-
if (node.nodeType == 3) {
|
92
|
-
var text = node.nodeValue = fixSpaces(node.nodeValue.replace(/[\r\u200b]/g, "").replace(/\n/g, " "));
|
93
|
-
if (text.length) leaving = false;
|
94
|
-
result.push(node);
|
95
|
-
}
|
96
|
-
else if (node.nodeName == "BR" && node.childNodes.length == 0) {
|
97
|
-
leaving = true;
|
98
|
-
result.push(node);
|
99
|
-
}
|
100
|
-
else {
|
101
|
-
forEach(node.childNodes, simplifyNode);
|
102
|
-
if (!leaving && newlineElements.hasOwnProperty(node.nodeName)) {
|
103
|
-
leaving = true;
|
104
|
-
result.push(doc.createElement("BR"));
|
105
|
-
}
|
106
|
-
}
|
107
|
-
}
|
108
|
-
|
109
|
-
simplifyNode(root);
|
110
|
-
return result;
|
111
|
-
}
|
112
|
-
|
113
|
-
// Creates a MochiKit-style iterator that goes over a series of DOM
|
114
|
-
// nodes. The values it yields are strings, the textual content of
|
115
|
-
// the nodes. It makes sure that all nodes up to and including the
|
116
|
-
// one whose text is being yielded have been 'normalized' to be just
|
117
|
-
// <span> and <br> elements.
|
118
|
-
// See the story.html file for some short remarks about the use of
|
119
|
-
// continuation-passing style in this iterator.
|
120
|
-
function traverseDOM(start){
|
121
|
-
function yield(value, c){cc = c; return value;}
|
122
|
-
function push(fun, arg, c){return function(){return fun(arg, c);};}
|
123
|
-
function stop(){cc = stop; throw StopIteration;};
|
124
|
-
var cc = push(scanNode, start, stop);
|
125
|
-
var owner = start.ownerDocument;
|
126
|
-
var nodeQueue = [];
|
127
|
-
|
128
|
-
// Create a function that can be used to insert nodes after the
|
129
|
-
// one given as argument.
|
130
|
-
function pointAt(node){
|
131
|
-
var parent = node.parentNode;
|
132
|
-
var next = node.nextSibling;
|
133
|
-
return function(newnode) {
|
134
|
-
parent.insertBefore(newnode, next);
|
135
|
-
};
|
136
|
-
}
|
137
|
-
var point = null;
|
138
|
-
|
139
|
-
// Insert a normalized node at the current point. If it is a text
|
140
|
-
// node, wrap it in a <span>, and give that span a currentText
|
141
|
-
// property -- this is used to cache the nodeValue, because
|
142
|
-
// directly accessing nodeValue is horribly slow on some browsers.
|
143
|
-
// The dirty property is used by the highlighter to determine
|
144
|
-
// which parts of the document have to be re-highlighted.
|
145
|
-
function insertPart(part){
|
146
|
-
var text = "\n";
|
147
|
-
if (part.nodeType == 3) {
|
148
|
-
select.snapshotChanged();
|
149
|
-
part = makePartSpan(part, owner);
|
150
|
-
text = part.currentText;
|
151
|
-
}
|
152
|
-
part.dirty = true;
|
153
|
-
nodeQueue.push(part);
|
154
|
-
point(part);
|
155
|
-
return text;
|
156
|
-
}
|
157
|
-
|
158
|
-
// Extract the text and newlines from a DOM node, insert them into
|
159
|
-
// the document, and yield the textual content. Used to replace
|
160
|
-
// non-normalized nodes.
|
161
|
-
function writeNode(node, c){
|
162
|
-
var toYield = [];
|
163
|
-
forEach(simplifyDOM(node), function(part) {
|
164
|
-
toYield.push(insertPart(part));
|
165
|
-
});
|
166
|
-
return yield(toYield.join(""), c);
|
167
|
-
}
|
168
|
-
|
169
|
-
// Check whether a node is a normalized <span> element.
|
170
|
-
function partNode(node){
|
171
|
-
if (node.isPart && node.childNodes.length == 1 && node.firstChild.nodeType == 3) {
|
172
|
-
node.currentText = node.firstChild.nodeValue;
|
173
|
-
return !/[\n\t\r]/.test(node.currentText);
|
174
|
-
}
|
175
|
-
return false;
|
176
|
-
}
|
177
|
-
|
178
|
-
// Handle a node. Add its successor to the continuation if there
|
179
|
-
// is one, find out whether the node is normalized. If it is,
|
180
|
-
// yield its content, otherwise, normalize it (writeNode will take
|
181
|
-
// care of yielding).
|
182
|
-
function scanNode(node, c){
|
183
|
-
if (node.nextSibling)
|
184
|
-
c = push(scanNode, node.nextSibling, c);
|
185
|
-
|
186
|
-
if (partNode(node)){
|
187
|
-
nodeQueue.push(node);
|
188
|
-
return yield(node.currentText, c);
|
189
|
-
}
|
190
|
-
else if (node.nodeName == "BR") {
|
191
|
-
nodeQueue.push(node);
|
192
|
-
return yield("\n", c);
|
193
|
-
}
|
194
|
-
else {
|
195
|
-
point = pointAt(node);
|
196
|
-
removeElement(node);
|
197
|
-
return writeNode(node, c);
|
198
|
-
}
|
199
|
-
}
|
200
|
-
|
201
|
-
// MochiKit iterators are objects with a next function that
|
202
|
-
// returns the next value or throws StopIteration when there are
|
203
|
-
// no more values.
|
204
|
-
return {next: function(){return cc();}, nodes: nodeQueue};
|
205
|
-
}
|
206
|
-
|
207
|
-
// Determine the text size of a processed node.
|
208
|
-
function nodeSize(node) {
|
209
|
-
if (node.nodeName == "BR")
|
210
|
-
return 1;
|
211
|
-
else
|
212
|
-
return node.currentText.length;
|
213
|
-
}
|
214
|
-
|
215
|
-
// Search backwards through the top-level nodes until the next BR or
|
216
|
-
// the start of the frame.
|
217
|
-
function startOfLine(node) {
|
218
|
-
while (node && node.nodeName != "BR") node = node.previousSibling;
|
219
|
-
return node;
|
220
|
-
}
|
221
|
-
function endOfLine(node, container) {
|
222
|
-
if (!node) node = container.firstChild;
|
223
|
-
else if (node.nodeName == "BR") node = node.nextSibling;
|
224
|
-
|
225
|
-
while (node && node.nodeName != "BR") node = node.nextSibling;
|
226
|
-
return node;
|
227
|
-
}
|
228
|
-
|
229
|
-
// Replace all DOM nodes in the current selection with new ones.
|
230
|
-
// Needed to prevent issues in IE where the old DOM nodes can be
|
231
|
-
// pasted back into the document, still holding their old undo
|
232
|
-
// information.
|
233
|
-
function scrubPasted(container, start, start2) {
|
234
|
-
var end = select.selectionTopNode(container, true),
|
235
|
-
doc = container.ownerDocument;
|
236
|
-
if (start != null && start.parentNode != container) start = start2;
|
237
|
-
if (start === false) start = null;
|
238
|
-
if (start == end || !end || !container.firstChild) return;
|
239
|
-
|
240
|
-
var clear = traverseDOM(start ? start.nextSibling : container.firstChild);
|
241
|
-
while (end.parentNode == container) try{clear.next();}catch(e){break;}
|
242
|
-
forEach(clear.nodes, function(node) {
|
243
|
-
var newNode = node.nodeName == "BR" ? doc.createElement("BR") : makePartSpan(node.currentText, doc);
|
244
|
-
container.replaceChild(newNode, node);
|
245
|
-
});
|
246
|
-
}
|
247
|
-
|
248
|
-
// Client interface for searching the content of the editor. Create
|
249
|
-
// these by calling CodeMirror.getSearchCursor. To use, call
|
250
|
-
// findNext on the resulting object -- this returns a boolean
|
251
|
-
// indicating whether anything was found, and can be called again to
|
252
|
-
// skip to the next find. Use the select and replace methods to
|
253
|
-
// actually do something with the found locations.
|
254
|
-
function SearchCursor(editor, string, fromCursor) {
|
255
|
-
this.editor = editor;
|
256
|
-
this.history = editor.history;
|
257
|
-
this.history.commit();
|
258
|
-
|
259
|
-
// Are we currently at an occurrence of the search string?
|
260
|
-
this.atOccurrence = false;
|
261
|
-
// The object stores a set of nodes coming after its current
|
262
|
-
// position, so that when the current point is taken out of the
|
263
|
-
// DOM tree, we can still try to continue.
|
264
|
-
this.fallbackSize = 15;
|
265
|
-
var cursor;
|
266
|
-
// Start from the cursor when specified and a cursor can be found.
|
267
|
-
if (fromCursor && (cursor = select.cursorPos(this.editor.container))) {
|
268
|
-
this.line = cursor.node;
|
269
|
-
this.offset = cursor.offset;
|
270
|
-
}
|
271
|
-
else {
|
272
|
-
this.line = null;
|
273
|
-
this.offset = 0;
|
274
|
-
}
|
275
|
-
this.valid = !!string;
|
276
|
-
|
277
|
-
// Create a matcher function based on the kind of string we have.
|
278
|
-
var target = string.split("\n"), self = this;;
|
279
|
-
this.matches = (target.length == 1) ?
|
280
|
-
// For one-line strings, searching can be done simply by calling
|
281
|
-
// indexOf on the current line.
|
282
|
-
function() {
|
283
|
-
var match = cleanText(self.history.textAfter(self.line).slice(self.offset)).indexOf(string);
|
284
|
-
if (match > -1)
|
285
|
-
return {from: {node: self.line, offset: self.offset + match},
|
286
|
-
to: {node: self.line, offset: self.offset + match + string.length}};
|
287
|
-
} :
|
288
|
-
// Multi-line strings require internal iteration over lines, and
|
289
|
-
// some clunky checks to make sure the first match ends at the
|
290
|
-
// end of the line and the last match starts at the start.
|
291
|
-
function() {
|
292
|
-
var firstLine = cleanText(self.history.textAfter(self.line).slice(self.offset));
|
293
|
-
var match = firstLine.lastIndexOf(target[0]);
|
294
|
-
if (match == -1 || match != firstLine.length - target[0].length)
|
295
|
-
return false;
|
296
|
-
var startOffset = self.offset + match;
|
297
|
-
|
298
|
-
var line = self.history.nodeAfter(self.line);
|
299
|
-
for (var i = 1; i < target.length - 1; i++) {
|
300
|
-
if (cleanText(self.history.textAfter(line)) != target[i])
|
301
|
-
return false;
|
302
|
-
line = self.history.nodeAfter(line);
|
303
|
-
}
|
304
|
-
|
305
|
-
if (cleanText(self.history.textAfter(line)).indexOf(target[target.length - 1]) != 0)
|
306
|
-
return false;
|
307
|
-
|
308
|
-
return {from: {node: self.line, offset: startOffset},
|
309
|
-
to: {node: line, offset: target[target.length - 1].length}};
|
310
|
-
};
|
311
|
-
}
|
312
|
-
|
313
|
-
SearchCursor.prototype = {
|
314
|
-
findNext: function() {
|
315
|
-
if (!this.valid) return false;
|
316
|
-
this.atOccurrence = false;
|
317
|
-
var self = this;
|
318
|
-
|
319
|
-
// Go back to the start of the document if the current line is
|
320
|
-
// no longer in the DOM tree.
|
321
|
-
if (this.line && !this.line.parentNode) {
|
322
|
-
this.line = null;
|
323
|
-
this.offset = 0;
|
324
|
-
}
|
325
|
-
|
326
|
-
// Set the cursor's position one character after the given
|
327
|
-
// position.
|
328
|
-
function saveAfter(pos) {
|
329
|
-
if (self.history.textAfter(pos.node).length < pos.offset) {
|
330
|
-
self.line = pos.node;
|
331
|
-
self.offset = pos.offset + 1;
|
332
|
-
}
|
333
|
-
else {
|
334
|
-
self.line = self.history.nodeAfter(pos.node);
|
335
|
-
self.offset = 0;
|
336
|
-
}
|
337
|
-
}
|
338
|
-
|
339
|
-
while (true) {
|
340
|
-
var match = this.matches();
|
341
|
-
// Found the search string.
|
342
|
-
if (match) {
|
343
|
-
this.atOccurrence = match;
|
344
|
-
saveAfter(match.from);
|
345
|
-
return true;
|
346
|
-
}
|
347
|
-
this.line = this.history.nodeAfter(this.line);
|
348
|
-
this.offset = 0;
|
349
|
-
// End of document.
|
350
|
-
if (!this.line) {
|
351
|
-
this.valid = false;
|
352
|
-
return false;
|
353
|
-
}
|
354
|
-
}
|
355
|
-
},
|
356
|
-
|
357
|
-
select: function() {
|
358
|
-
if (this.atOccurrence) {
|
359
|
-
select.setCursorPos(this.editor.container, this.atOccurrence.from, this.atOccurrence.to);
|
360
|
-
select.scrollToCursor(this.editor.container);
|
361
|
-
}
|
362
|
-
},
|
363
|
-
|
364
|
-
replace: function(string) {
|
365
|
-
if (this.atOccurrence) {
|
366
|
-
var end = this.editor.replaceRange(this.atOccurrence.from, this.atOccurrence.to, string);
|
367
|
-
this.line = end.node;
|
368
|
-
this.offset = end.offset;
|
369
|
-
this.atOccurrence = false;
|
370
|
-
}
|
371
|
-
}
|
372
|
-
};
|
373
|
-
|
374
|
-
// The Editor object is the main inside-the-iframe interface.
|
375
|
-
function Editor(options) {
|
376
|
-
this.options = options;
|
377
|
-
window.indentUnit = options.indentUnit;
|
378
|
-
this.parent = parent;
|
379
|
-
this.doc = document;
|
380
|
-
var container = this.container = this.doc.body;
|
381
|
-
this.win = window;
|
382
|
-
this.history = new History(container, options.undoDepth, options.undoDelay,
|
383
|
-
this, options.onChange);
|
384
|
-
var self = this;
|
385
|
-
|
386
|
-
if (!Editor.Parser)
|
387
|
-
throw "No parser loaded.";
|
388
|
-
if (options.parserConfig && Editor.Parser.configure)
|
389
|
-
Editor.Parser.configure(options.parserConfig);
|
390
|
-
|
391
|
-
if (!options.readOnly)
|
392
|
-
select.setCursorPos(container, {node: null, offset: 0});
|
393
|
-
|
394
|
-
this.dirty = [];
|
395
|
-
if (options.content)
|
396
|
-
this.importCode(options.content);
|
397
|
-
else // FF acts weird when the editable document is completely empty
|
398
|
-
container.appendChild(this.doc.createElement("BR"));
|
399
|
-
|
400
|
-
if (!options.readOnly) {
|
401
|
-
if (options.continuousScanning !== false) {
|
402
|
-
this.scanner = this.documentScanner(options.linesPerPass);
|
403
|
-
this.delayScanning();
|
404
|
-
}
|
405
|
-
|
406
|
-
function setEditable() {
|
407
|
-
// In IE, designMode frames can not run any scripts, so we use
|
408
|
-
// contentEditable instead.
|
409
|
-
if (document.body.contentEditable != undefined && internetExplorer)
|
410
|
-
document.body.contentEditable = "true";
|
411
|
-
else
|
412
|
-
document.designMode = "on";
|
413
|
-
|
414
|
-
document.documentElement.style.borderWidth = "0";
|
415
|
-
if (!options.textWrapping)
|
416
|
-
container.style.whiteSpace = "nowrap";
|
417
|
-
}
|
418
|
-
|
419
|
-
// If setting the frame editable fails, try again when the user
|
420
|
-
// focus it (happens when the frame is not visible on
|
421
|
-
// initialisation, in Firefox).
|
422
|
-
try {
|
423
|
-
setEditable();
|
424
|
-
}
|
425
|
-
catch(e) {
|
426
|
-
var focusEvent = addEventHandler(document, "focus", function() {
|
427
|
-
focusEvent();
|
428
|
-
setEditable();
|
429
|
-
}, true);
|
430
|
-
}
|
431
|
-
|
432
|
-
addEventHandler(document, "keydown", method(this, "keyDown"));
|
433
|
-
addEventHandler(document, "keypress", method(this, "keyPress"));
|
434
|
-
addEventHandler(document, "keyup", method(this, "keyUp"));
|
435
|
-
|
436
|
-
function cursorActivity() {self.cursorActivity(false);}
|
437
|
-
addEventHandler(document.body, "mouseup", cursorActivity);
|
438
|
-
addEventHandler(document.body, "paste", function(event) {
|
439
|
-
cursorActivity();
|
440
|
-
if (internetExplorer) {
|
441
|
-
var text = null;
|
442
|
-
try {text = window.clipboardData.getData("Text");}catch(e){}
|
443
|
-
if (text != null) {
|
444
|
-
self.replaceSelection(text);
|
445
|
-
event.stop();
|
446
|
-
}
|
447
|
-
else {
|
448
|
-
var start = select.selectionTopNode(self.container, true),
|
449
|
-
start2 = start && start.previousSibling;
|
450
|
-
setTimeout(function(){scrubPasted(self.container, start, start2);}, 0);
|
451
|
-
}
|
452
|
-
}
|
453
|
-
});
|
454
|
-
addEventHandler(document.body, "cut", cursorActivity);
|
455
|
-
|
456
|
-
if (this.options.autoMatchParens)
|
457
|
-
addEventHandler(document.body, "click", method(this, "scheduleParenBlink"));
|
458
|
-
}
|
459
|
-
}
|
460
|
-
|
461
|
-
function isSafeKey(code) {
|
462
|
-
return (code >= 16 && code <= 18) || // shift, control, alt
|
463
|
-
(code >= 33 && code <= 40); // arrows, home, end
|
464
|
-
}
|
465
|
-
|
466
|
-
Editor.prototype = {
|
467
|
-
// Import a piece of code into the editor.
|
468
|
-
importCode: function(code) {
|
469
|
-
this.history.push(null, null, asEditorLines(code));
|
470
|
-
this.history.reset();
|
471
|
-
},
|
472
|
-
|
473
|
-
// Extract the code from the editor.
|
474
|
-
getCode: function() {
|
475
|
-
if (!this.container.firstChild)
|
476
|
-
return "";
|
477
|
-
|
478
|
-
var accum = [];
|
479
|
-
select.markSelection(this.win);
|
480
|
-
forEach(traverseDOM(this.container.firstChild), method(accum, "push"));
|
481
|
-
webkitLastLineHack(this.container);
|
482
|
-
select.selectMarked();
|
483
|
-
return cleanText(accum.join(""));
|
484
|
-
},
|
485
|
-
|
486
|
-
checkLine: function(node) {
|
487
|
-
if (node === false || !(node == null || node.parentNode == this.container))
|
488
|
-
throw parent.CodeMirror.InvalidLineHandle;
|
489
|
-
},
|
490
|
-
|
491
|
-
cursorPosition: function(start) {
|
492
|
-
if (start == null) start = true;
|
493
|
-
var pos = select.cursorPos(this.container, start);
|
494
|
-
if (pos) return {line: pos.node, character: pos.offset};
|
495
|
-
else return {line: null, character: 0};
|
496
|
-
},
|
497
|
-
|
498
|
-
firstLine: function() {
|
499
|
-
return null;
|
500
|
-
},
|
501
|
-
|
502
|
-
lastLine: function() {
|
503
|
-
if (this.container.lastChild) return startOfLine(this.container.lastChild);
|
504
|
-
else return null;
|
505
|
-
},
|
506
|
-
|
507
|
-
nextLine: function(line) {
|
508
|
-
this.checkLine(line);
|
509
|
-
var end = endOfLine(line, this.container);
|
510
|
-
return end || false;
|
511
|
-
},
|
512
|
-
|
513
|
-
prevLine: function(line) {
|
514
|
-
this.checkLine(line);
|
515
|
-
if (line == null) return false;
|
516
|
-
return startOfLine(line.previousSibling);
|
517
|
-
},
|
518
|
-
|
519
|
-
selectLines: function(startLine, startOffset, endLine, endOffset) {
|
520
|
-
this.checkLine(startLine);
|
521
|
-
var start = {node: startLine, offset: startOffset}, end = null;
|
522
|
-
if (endOffset !== undefined) {
|
523
|
-
this.checkLine(endLine);
|
524
|
-
end = {node: endLine, offset: endOffset};
|
525
|
-
}
|
526
|
-
select.setCursorPos(this.container, start, end);
|
527
|
-
select.scrollToCursor(this.container);
|
528
|
-
},
|
529
|
-
|
530
|
-
lineContent: function(line) {
|
531
|
-
this.checkLine(line);
|
532
|
-
var accum = [];
|
533
|
-
for (line = line ? line.nextSibling : this.container.firstChild;
|
534
|
-
line && line.nodeName != "BR"; line = line.nextSibling)
|
535
|
-
accum.push(nodeText(line));
|
536
|
-
return cleanText(accum.join(""));
|
537
|
-
},
|
538
|
-
|
539
|
-
setLineContent: function(line, content) {
|
540
|
-
this.history.commit();
|
541
|
-
this.replaceRange({node: line, offset: 0},
|
542
|
-
{node: line, offset: this.history.textAfter(line).length},
|
543
|
-
content);
|
544
|
-
this.addDirtyNode(line);
|
545
|
-
this.scheduleHighlight();
|
546
|
-
},
|
547
|
-
|
548
|
-
insertIntoLine: function(line, position, content) {
|
549
|
-
var before = null;
|
550
|
-
if (position == "end") {
|
551
|
-
before = endOfLine(line, this.container);
|
552
|
-
}
|
553
|
-
else {
|
554
|
-
for (var cur = line ? line.nextSibling : this.container.firstChild; cur; cur = cur.nextSibling) {
|
555
|
-
if (position == 0) {
|
556
|
-
before = cur;
|
557
|
-
break;
|
558
|
-
}
|
559
|
-
var text = (cur.innerText || cur.textContent || cur.nodeValue || "");
|
560
|
-
if (text.length > position) {
|
561
|
-
before = cur.nextSibling;
|
562
|
-
content = text.slice(0, position) + content + text.slice(position);
|
563
|
-
removeElement(cur);
|
564
|
-
break;
|
565
|
-
}
|
566
|
-
position -= text.length;
|
567
|
-
}
|
568
|
-
}
|
569
|
-
|
570
|
-
var lines = asEditorLines(content), doc = this.container.ownerDocument;
|
571
|
-
for (var i = 0; i < lines.length; i++) {
|
572
|
-
if (i > 0) this.container.insertBefore(doc.createElement("BR"), before);
|
573
|
-
this.container.insertBefore(makePartSpan(lines[i], doc), before);
|
574
|
-
}
|
575
|
-
this.addDirtyNode(line);
|
576
|
-
this.scheduleHighlight();
|
577
|
-
},
|
578
|
-
|
579
|
-
// Retrieve the selected text.
|
580
|
-
selectedText: function() {
|
581
|
-
var h = this.history;
|
582
|
-
h.commit();
|
583
|
-
|
584
|
-
var start = select.cursorPos(this.container, true),
|
585
|
-
end = select.cursorPos(this.container, false);
|
586
|
-
if (!start || !end) return "";
|
587
|
-
|
588
|
-
if (start.node == end.node)
|
589
|
-
return h.textAfter(start.node).slice(start.offset, end.offset);
|
590
|
-
|
591
|
-
var text = [h.textAfter(start.node).slice(start.offset)];
|
592
|
-
for (pos = h.nodeAfter(start.node); pos != end.node; pos = h.nodeAfter(pos))
|
593
|
-
text.push(h.textAfter(pos));
|
594
|
-
text.push(h.textAfter(end.node).slice(0, end.offset));
|
595
|
-
return cleanText(text.join("\n"));
|
596
|
-
},
|
597
|
-
|
598
|
-
// Replace the selection with another piece of text.
|
599
|
-
replaceSelection: function(text) {
|
600
|
-
this.history.commit();
|
601
|
-
var start = select.cursorPos(this.container, true),
|
602
|
-
end = select.cursorPos(this.container, false);
|
603
|
-
if (!start || !end) return;
|
604
|
-
|
605
|
-
end = this.replaceRange(start, end, text);
|
606
|
-
select.setCursorPos(this.container, start, end);
|
607
|
-
},
|
608
|
-
|
609
|
-
replaceRange: function(from, to, text) {
|
610
|
-
var lines = asEditorLines(text);
|
611
|
-
lines[0] = this.history.textAfter(from.node).slice(0, from.offset) + lines[0];
|
612
|
-
var lastLine = lines[lines.length - 1];
|
613
|
-
lines[lines.length - 1] = lastLine + this.history.textAfter(to.node).slice(to.offset);
|
614
|
-
var end = this.history.nodeAfter(to.node);
|
615
|
-
this.history.push(from.node, end, lines);
|
616
|
-
return {node: this.history.nodeBefore(end),
|
617
|
-
offset: lastLine.length};
|
618
|
-
},
|
619
|
-
|
620
|
-
getSearchCursor: function(string, fromCursor) {
|
621
|
-
return new SearchCursor(this, string, fromCursor);
|
622
|
-
},
|
623
|
-
|
624
|
-
// Re-indent the whole buffer
|
625
|
-
reindent: function() {
|
626
|
-
if (this.container.firstChild)
|
627
|
-
this.indentRegion(null, this.container.lastChild);
|
628
|
-
},
|
629
|
-
|
630
|
-
grabKeys: function(eventHandler, filter) {
|
631
|
-
this.frozen = eventHandler;
|
632
|
-
this.keyFilter = filter;
|
633
|
-
},
|
634
|
-
ungrabKeys: function() {
|
635
|
-
this.frozen = "leave";
|
636
|
-
this.keyFilter = null;
|
637
|
-
},
|
638
|
-
|
639
|
-
// Intercept enter and tab, and assign their new functions.
|
640
|
-
keyDown: function(event) {
|
641
|
-
if (this.frozen == "leave") this.frozen = null;
|
642
|
-
if (this.frozen && (!this.keyFilter || this.keyFilter(event.keyCode))) {
|
643
|
-
event.stop();
|
644
|
-
this.frozen(event);
|
645
|
-
return;
|
646
|
-
}
|
647
|
-
|
648
|
-
var code = event.keyCode;
|
649
|
-
// Don't scan when the user is typing.
|
650
|
-
this.delayScanning();
|
651
|
-
// Schedule a paren-highlight event, if configured.
|
652
|
-
if (this.options.autoMatchParens)
|
653
|
-
this.scheduleParenBlink();
|
654
|
-
|
655
|
-
if (code == 13) { // enter
|
656
|
-
if (event.ctrlKey) {
|
657
|
-
this.reparseBuffer();
|
658
|
-
}
|
659
|
-
else {
|
660
|
-
select.insertNewlineAtCursor(this.win);
|
661
|
-
this.indentAtCursor();
|
662
|
-
select.scrollToCursor(this.container);
|
663
|
-
}
|
664
|
-
event.stop();
|
665
|
-
}
|
666
|
-
else if (code == 9 && this.options.tabMode != "default") { // tab
|
667
|
-
this.handleTab(!event.ctrlKey && !event.shiftKey);
|
668
|
-
event.stop();
|
669
|
-
}
|
670
|
-
else if (code == 32 && event.shiftKey && this.options.tabMode == "default") { // space
|
671
|
-
this.handleTab(true);
|
672
|
-
event.stop();
|
673
|
-
}
|
674
|
-
else if ((code == 219 || code == 221) && event.ctrlKey) {
|
675
|
-
this.blinkParens(event.shiftKey);
|
676
|
-
event.stop();
|
677
|
-
}
|
678
|
-
else if (event.metaKey && (code == 37 || code == 39)) { // Meta-left/right
|
679
|
-
var cursor = select.selectionTopNode(this.container);
|
680
|
-
if (cursor === false || !this.container.firstChild) return;
|
681
|
-
|
682
|
-
if (code == 37) select.focusAfterNode(startOfLine(cursor), this.container);
|
683
|
-
else {
|
684
|
-
end = endOfLine(cursor, this.container);
|
685
|
-
select.focusAfterNode(end ? end.previousSibling : this.container.lastChild, this.container);
|
686
|
-
}
|
687
|
-
event.stop();
|
688
|
-
}
|
689
|
-
else if (event.ctrlKey || event.metaKey) {
|
690
|
-
if ((event.shiftKey && code == 90) || code == 89) { // shift-Z, Y
|
691
|
-
select.scrollToNode(this.history.redo());
|
692
|
-
event.stop();
|
693
|
-
}
|
694
|
-
else if (code == 90 || code == 8) { // Z, backspace
|
695
|
-
select.scrollToNode(this.history.undo());
|
696
|
-
event.stop();
|
697
|
-
}
|
698
|
-
else if (code == 83 && this.options.saveFunction) { // S
|
699
|
-
this.options.saveFunction();
|
700
|
-
event.stop();
|
701
|
-
}
|
702
|
-
}
|
703
|
-
},
|
704
|
-
|
705
|
-
// Check for characters that should re-indent the current line,
|
706
|
-
// and prevent Opera from handling enter and tab anyway.
|
707
|
-
keyPress: function(event) {
|
708
|
-
var electric = /indent|default/.test(this.options.tabMode) && Editor.Parser.electricChars;
|
709
|
-
// Hack for Opera, and Firefox on OS X, in which stopping a
|
710
|
-
// keydown event does not prevent the associated keypress event
|
711
|
-
// from happening, so we have to cancel enter and tab again
|
712
|
-
// here.
|
713
|
-
if ((this.frozen && (!this.keyFilter || this.keyFilter(event.keyCode))) ||
|
714
|
-
event.code == 13 || (event.code == 9 && this.options.tabMode != "default") ||
|
715
|
-
(event.keyCode == 32 && event.shiftKey && this.options.tabMode == "default"))
|
716
|
-
event.stop();
|
717
|
-
else if (electric && electric.indexOf(event.character) != -1)
|
718
|
-
this.parent.setTimeout(method(this, "indentAtCursor"), 0);
|
719
|
-
},
|
720
|
-
|
721
|
-
// Mark the node at the cursor dirty when a non-safe key is
|
722
|
-
// released.
|
723
|
-
keyUp: function(event) {
|
724
|
-
this.cursorActivity(isSafeKey(event.keyCode));
|
725
|
-
},
|
726
|
-
|
727
|
-
// Indent the line following a given <br>, or null for the first
|
728
|
-
// line. If given a <br> element, this must have been highlighted
|
729
|
-
// so that it has an indentation method. Returns the whitespace
|
730
|
-
// element that has been modified or created (if any).
|
731
|
-
indentLineAfter: function(start, direction) {
|
732
|
-
// whiteSpace is the whitespace span at the start of the line,
|
733
|
-
// or null if there is no such node.
|
734
|
-
var whiteSpace = start ? start.nextSibling : this.container.firstChild;
|
735
|
-
if (whiteSpace && !hasClass(whiteSpace, "whitespace"))
|
736
|
-
whiteSpace = null;
|
737
|
-
|
738
|
-
// Sometimes the start of the line can influence the correct
|
739
|
-
// indentation, so we retrieve it.
|
740
|
-
var firstText = whiteSpace ? whiteSpace.nextSibling : (start ? start.nextSibling : this.container.firstChild);
|
741
|
-
var nextChars = (start && firstText && firstText.currentText) ? firstText.currentText : "";
|
742
|
-
|
743
|
-
// Ask the lexical context for the correct indentation, and
|
744
|
-
// compute how much this differs from the current indentation.
|
745
|
-
var newIndent = 0, curIndent = whiteSpace ? whiteSpace.currentText.length : 0;
|
746
|
-
if (direction != null && this.options.tabMode == "shift")
|
747
|
-
newIndent = direction ? curIndent + indentUnit : Math.max(0, curIndent - indentUnit)
|
748
|
-
else if (start)
|
749
|
-
newIndent = start.indentation(nextChars, curIndent, direction);
|
750
|
-
else if (Editor.Parser.firstIndentation)
|
751
|
-
newIndent = Editor.Parser.firstIndentation(nextChars, curIndent, direction);
|
752
|
-
var indentDiff = newIndent - curIndent;
|
753
|
-
|
754
|
-
// If there is too much, this is just a matter of shrinking a span.
|
755
|
-
if (indentDiff < 0) {
|
756
|
-
if (newIndent == 0) {
|
757
|
-
if (firstText) select.snapshotMove(whiteSpace.firstChild, firstText.firstChild, 0);
|
758
|
-
removeElement(whiteSpace);
|
759
|
-
whiteSpace = null;
|
760
|
-
}
|
761
|
-
else {
|
762
|
-
select.snapshotMove(whiteSpace.firstChild, whiteSpace.firstChild, indentDiff, true);
|
763
|
-
whiteSpace.currentText = makeWhiteSpace(newIndent);
|
764
|
-
whiteSpace.firstChild.nodeValue = whiteSpace.currentText;
|
765
|
-
}
|
766
|
-
}
|
767
|
-
// Not enough...
|
768
|
-
else if (indentDiff > 0) {
|
769
|
-
// If there is whitespace, we grow it.
|
770
|
-
if (whiteSpace) {
|
771
|
-
whiteSpace.currentText = makeWhiteSpace(newIndent);
|
772
|
-
whiteSpace.firstChild.nodeValue = whiteSpace.currentText;
|
773
|
-
}
|
774
|
-
// Otherwise, we have to add a new whitespace node.
|
775
|
-
else {
|
776
|
-
whiteSpace = makePartSpan(makeWhiteSpace(newIndent), this.doc);
|
777
|
-
whiteSpace.className = "whitespace";
|
778
|
-
if (start) insertAfter(whiteSpace, start);
|
779
|
-
else this.container.insertBefore(whiteSpace, this.container.firstChild);
|
780
|
-
}
|
781
|
-
if (firstText) select.snapshotMove(firstText.firstChild, whiteSpace.firstChild, curIndent, false, true);
|
782
|
-
}
|
783
|
-
if (indentDiff != 0) this.addDirtyNode(start);
|
784
|
-
return whiteSpace;
|
785
|
-
},
|
786
|
-
|
787
|
-
// Re-highlight the selected part of the document.
|
788
|
-
highlightAtCursor: function() {
|
789
|
-
var pos = select.selectionTopNode(this.container, true);
|
790
|
-
var to = select.selectionTopNode(this.container, false);
|
791
|
-
if (pos === false || to === false) return;
|
792
|
-
|
793
|
-
select.markSelection(this.win);
|
794
|
-
if (this.highlight(pos, endOfLine(to, this.container), true, 20) === false)
|
795
|
-
return false;
|
796
|
-
select.selectMarked();
|
797
|
-
return true;
|
798
|
-
},
|
799
|
-
|
800
|
-
// When tab is pressed with text selected, the whole selection is
|
801
|
-
// re-indented, when nothing is selected, the line with the cursor
|
802
|
-
// is re-indented.
|
803
|
-
handleTab: function(direction) {
|
804
|
-
if (this.options.tabMode == "spaces") {
|
805
|
-
select.insertTabAtCursor(this.win);
|
806
|
-
}
|
807
|
-
else if (!select.somethingSelected(this.win)) {
|
808
|
-
this.indentAtCursor(direction);
|
809
|
-
}
|
810
|
-
else {
|
811
|
-
var start = select.selectionTopNode(this.container, true),
|
812
|
-
end = select.selectionTopNode(this.container, false);
|
813
|
-
if (start === false || end === false) return;
|
814
|
-
this.indentRegion(start, end, direction);
|
815
|
-
}
|
816
|
-
},
|
817
|
-
|
818
|
-
// Delay (or initiate) the next paren blink event.
|
819
|
-
scheduleParenBlink: function() {
|
820
|
-
if (this.parenEvent) this.parent.clearTimeout(this.parenEvent);
|
821
|
-
var self = this;
|
822
|
-
this.parenEvent = this.parent.setTimeout(function(){self.blinkParens();}, 300);
|
823
|
-
},
|
824
|
-
|
825
|
-
// Take the token before the cursor. If it contains a character in
|
826
|
-
// '()[]{}', search for the matching paren/brace/bracket, and
|
827
|
-
// highlight them in green for a moment, or red if no proper match
|
828
|
-
// was found.
|
829
|
-
blinkParens: function(jump) {
|
830
|
-
// Clear the event property.
|
831
|
-
if (this.parenEvent) this.parent.clearTimeout(this.parenEvent);
|
832
|
-
this.parenEvent = null;
|
833
|
-
|
834
|
-
// Extract a 'paren' from a piece of text.
|
835
|
-
function paren(node) {
|
836
|
-
if (node.currentText) {
|
837
|
-
var match = node.currentText.match(/^[\s\u00a0]*([\(\)\[\]{}])[\s\u00a0]*$/);
|
838
|
-
return match && match[1];
|
839
|
-
}
|
840
|
-
}
|
841
|
-
// Determine the direction a paren is facing.
|
842
|
-
function forward(ch) {
|
843
|
-
return /[\(\[\{]/.test(ch);
|
844
|
-
}
|
845
|
-
|
846
|
-
var ch, self = this, cursor = select.selectionTopNode(this.container, true);
|
847
|
-
if (!cursor || !this.highlightAtCursor()) return;
|
848
|
-
cursor = select.selectionTopNode(this.container, true);
|
849
|
-
if (!(cursor && ((ch = paren(cursor)) || (cursor = cursor.nextSibling) && (ch = paren(cursor)))))
|
850
|
-
return;
|
851
|
-
// We only look for tokens with the same className.
|
852
|
-
var className = cursor.className, dir = forward(ch), match = matching[ch];
|
853
|
-
|
854
|
-
// Since parts of the document might not have been properly
|
855
|
-
// highlighted, and it is hard to know in advance which part we
|
856
|
-
// have to scan, we just try, and when we find dirty nodes we
|
857
|
-
// abort, parse them, and re-try.
|
858
|
-
function tryFindMatch() {
|
859
|
-
var stack = [], ch, ok = true;;
|
860
|
-
for (var runner = cursor; runner; runner = dir ? runner.nextSibling : runner.previousSibling) {
|
861
|
-
if (runner.className == className && runner.nodeName == "SPAN" && (ch = paren(runner))) {
|
862
|
-
if (forward(ch) == dir)
|
863
|
-
stack.push(ch);
|
864
|
-
else if (!stack.length)
|
865
|
-
ok = false;
|
866
|
-
else if (stack.pop() != matching[ch])
|
867
|
-
ok = false;
|
868
|
-
if (!stack.length) break;
|
869
|
-
}
|
870
|
-
else if (runner.dirty || runner.nodeName != "SPAN" && runner.nodeName != "BR") {
|
871
|
-
return {node: runner, status: "dirty"};
|
872
|
-
}
|
873
|
-
}
|
874
|
-
return {node: runner, status: runner && ok};
|
875
|
-
}
|
876
|
-
// Temporarily give the relevant nodes a colour.
|
877
|
-
function blink(node, ok) {
|
878
|
-
node.style.fontWeight = "bold";
|
879
|
-
node.style.color = ok ? "#8F8" : "#F88";
|
880
|
-
self.parent.setTimeout(function() {node.style.fontWeight = ""; node.style.color = "";}, 500);
|
881
|
-
}
|
882
|
-
|
883
|
-
while (true) {
|
884
|
-
var found = tryFindMatch();
|
885
|
-
if (found.status == "dirty") {
|
886
|
-
this.highlight(found.node, 1);
|
887
|
-
// Needed because in some corner cases a highlight does not
|
888
|
-
// reach a node.
|
889
|
-
found.node.dirty = false;
|
890
|
-
continue;
|
891
|
-
}
|
892
|
-
else {
|
893
|
-
blink(cursor, found.status);
|
894
|
-
if (found.node) {
|
895
|
-
blink(found.node, found.status);
|
896
|
-
if (jump) select.focusAfterNode(found.node.previousSibling, this.container);
|
897
|
-
}
|
898
|
-
break;
|
899
|
-
}
|
900
|
-
}
|
901
|
-
},
|
902
|
-
|
903
|
-
// Adjust the amount of whitespace at the start of the line that
|
904
|
-
// the cursor is on so that it is indented properly.
|
905
|
-
indentAtCursor: function(direction) {
|
906
|
-
if (!this.container.firstChild) return;
|
907
|
-
// The line has to have up-to-date lexical information, so we
|
908
|
-
// highlight it first.
|
909
|
-
if (!this.highlightAtCursor()) return;
|
910
|
-
var cursor = select.selectionTopNode(this.container, false);
|
911
|
-
// If we couldn't determine the place of the cursor,
|
912
|
-
// there's nothing to indent.
|
913
|
-
if (cursor === false)
|
914
|
-
return;
|
915
|
-
var lineStart = startOfLine(cursor);
|
916
|
-
var whiteSpace = this.indentLineAfter(lineStart, direction);
|
917
|
-
if (cursor == lineStart && whiteSpace)
|
918
|
-
cursor = whiteSpace;
|
919
|
-
// This means the indentation has probably messed up the cursor.
|
920
|
-
if (cursor == whiteSpace)
|
921
|
-
select.focusAfterNode(cursor, this.container);
|
922
|
-
},
|
923
|
-
|
924
|
-
// Indent all lines whose start falls inside of the current
|
925
|
-
// selection.
|
926
|
-
indentRegion: function(start, end, direction) {
|
927
|
-
var current = (start = startOfLine(start)), before = start && startOfLine(start.previousSibling);
|
928
|
-
if (end.nodeName != "BR") end = endOfLine(end, this.container);
|
929
|
-
|
930
|
-
do {
|
931
|
-
if (current) this.highlight(before, current, true);
|
932
|
-
this.indentLineAfter(current, direction);
|
933
|
-
before = current;
|
934
|
-
current = endOfLine(current, this.container);
|
935
|
-
} while (current != end);
|
936
|
-
select.setCursorPos(this.container, {node: start, offset: 0}, {node: end, offset: 0});
|
937
|
-
},
|
938
|
-
|
939
|
-
// Find the node that the cursor is in, mark it as dirty, and make
|
940
|
-
// sure a highlight pass is scheduled.
|
941
|
-
cursorActivity: function(safe) {
|
942
|
-
if (internetExplorer) {
|
943
|
-
this.container.createTextRange().execCommand("unlink");
|
944
|
-
this.selectionSnapshot = select.selectionCoords(this.win);
|
945
|
-
}
|
946
|
-
|
947
|
-
var activity = this.options.cursorActivity;
|
948
|
-
if (!safe || activity) {
|
949
|
-
var cursor = select.selectionTopNode(this.container, false);
|
950
|
-
if (cursor === false || !this.container.firstChild) return;
|
951
|
-
cursor = cursor || this.container.firstChild;
|
952
|
-
if (activity) activity(cursor);
|
953
|
-
if (!safe) {
|
954
|
-
this.scheduleHighlight();
|
955
|
-
this.addDirtyNode(cursor);
|
956
|
-
}
|
957
|
-
}
|
958
|
-
},
|
959
|
-
|
960
|
-
reparseBuffer: function() {
|
961
|
-
forEach(this.container.childNodes, function(node) {node.dirty = true;});
|
962
|
-
if (this.container.firstChild)
|
963
|
-
this.addDirtyNode(this.container.firstChild);
|
964
|
-
},
|
965
|
-
|
966
|
-
// Add a node to the set of dirty nodes, if it isn't already in
|
967
|
-
// there.
|
968
|
-
addDirtyNode: function(node) {
|
969
|
-
node = node || this.container.firstChild;
|
970
|
-
if (!node) return;
|
971
|
-
|
972
|
-
for (var i = 0; i < this.dirty.length; i++)
|
973
|
-
if (this.dirty[i] == node) return;
|
974
|
-
|
975
|
-
if (node.nodeType != 3)
|
976
|
-
node.dirty = true;
|
977
|
-
this.dirty.push(node);
|
978
|
-
},
|
979
|
-
|
980
|
-
// Cause a highlight pass to happen in options.passDelay
|
981
|
-
// milliseconds. Clear the existing timeout, if one exists. This
|
982
|
-
// way, the passes do not happen while the user is typing, and
|
983
|
-
// should as unobtrusive as possible.
|
984
|
-
scheduleHighlight: function() {
|
985
|
-
// Timeouts are routed through the parent window, because on
|
986
|
-
// some browsers designMode windows do not fire timeouts.
|
987
|
-
var self = this;
|
988
|
-
this.parent.clearTimeout(this.highlightTimeout);
|
989
|
-
this.highlightTimeout = this.parent.setTimeout(function(){self.highlightDirty();}, this.options.passDelay);
|
990
|
-
},
|
991
|
-
|
992
|
-
// Fetch one dirty node, and remove it from the dirty set.
|
993
|
-
getDirtyNode: function() {
|
994
|
-
while (this.dirty.length > 0) {
|
995
|
-
var found = this.dirty.pop();
|
996
|
-
// IE8 sometimes throws an unexplainable 'invalid argument'
|
997
|
-
// exception for found.parentNode
|
998
|
-
try {
|
999
|
-
// If the node has been coloured in the meantime, or is no
|
1000
|
-
// longer in the document, it should not be returned.
|
1001
|
-
while (found && found.parentNode != this.container)
|
1002
|
-
found = found.parentNode
|
1003
|
-
if (found && (found.dirty || found.nodeType == 3))
|
1004
|
-
return found;
|
1005
|
-
} catch (e) {}
|
1006
|
-
}
|
1007
|
-
return null;
|
1008
|
-
},
|
1009
|
-
|
1010
|
-
// Pick dirty nodes, and highlight them, until
|
1011
|
-
// options.linesPerPass lines have been highlighted. The highlight
|
1012
|
-
// method will continue to next lines as long as it finds dirty
|
1013
|
-
// nodes. It returns an object indicating the amount of lines
|
1014
|
-
// left, and information about the place where it stopped. If
|
1015
|
-
// there are dirty nodes left after this function has spent all
|
1016
|
-
// its lines, it shedules another highlight to finish the job.
|
1017
|
-
highlightDirty: function(force) {
|
1018
|
-
// Prevent FF from raising an error when it is firing timeouts
|
1019
|
-
// on a page that's no longer loaded.
|
1020
|
-
if (!window.select) return;
|
1021
|
-
|
1022
|
-
var lines = force ? Infinity : this.options.linesPerPass;
|
1023
|
-
if (!this.options.readOnly) select.markSelection(this.win);
|
1024
|
-
var start;
|
1025
|
-
while (lines > 0 && (start = this.getDirtyNode())){
|
1026
|
-
var result = this.highlight(start, lines);
|
1027
|
-
if (result) {
|
1028
|
-
lines = result.left;
|
1029
|
-
if (result.node && result.dirty)
|
1030
|
-
this.addDirtyNode(result.node);
|
1031
|
-
}
|
1032
|
-
}
|
1033
|
-
if (!this.options.readOnly) select.selectMarked();
|
1034
|
-
if (start)
|
1035
|
-
this.scheduleHighlight();
|
1036
|
-
return this.dirty.length == 0;
|
1037
|
-
},
|
1038
|
-
|
1039
|
-
// Creates a function that, when called through a timeout, will
|
1040
|
-
// continuously re-parse the document.
|
1041
|
-
documentScanner: function(linesPer) {
|
1042
|
-
var self = this, pos = null;
|
1043
|
-
return function() {
|
1044
|
-
// If the current node is no longer in the document... oh
|
1045
|
-
// well, we start over.
|
1046
|
-
if (pos && pos.parentNode != self.container)
|
1047
|
-
pos = null;
|
1048
|
-
select.markSelection(self.win);
|
1049
|
-
var result = self.highlight(pos, linesPer, true);
|
1050
|
-
select.selectMarked();
|
1051
|
-
var newPos = result ? (result.node && result.node.nextSibling) : null;
|
1052
|
-
pos = (pos == newPos) ? null : newPos;
|
1053
|
-
self.delayScanning();
|
1054
|
-
};
|
1055
|
-
},
|
1056
|
-
|
1057
|
-
// Starts the continuous scanning process for this document after
|
1058
|
-
// a given interval.
|
1059
|
-
delayScanning: function() {
|
1060
|
-
if (this.scanner) {
|
1061
|
-
this.parent.clearTimeout(this.documentScan);
|
1062
|
-
this.documentScan = this.parent.setTimeout(this.scanner, this.options.continuousScanning);
|
1063
|
-
}
|
1064
|
-
},
|
1065
|
-
|
1066
|
-
// The function that does the actual highlighting/colouring (with
|
1067
|
-
// help from the parser and the DOM normalizer). Its interface is
|
1068
|
-
// rather overcomplicated, because it is used in different
|
1069
|
-
// situations: ensuring that a certain line is highlighted, or
|
1070
|
-
// highlighting up to X lines starting from a certain point. The
|
1071
|
-
// 'from' argument gives the node at which it should start. If
|
1072
|
-
// this is null, it will start at the beginning of the document.
|
1073
|
-
// When a number of lines is given with the 'target' argument, it
|
1074
|
-
// will highlight no more than that amount of lines. If this
|
1075
|
-
// argument holds a DOM node, it will highlight until it reaches
|
1076
|
-
// that node. If at any time it comes across a 'clean' line (no
|
1077
|
-
// dirty nodes), it will stop, except when 'cleanLines' is true.
|
1078
|
-
highlight: function(from, target, cleanLines, maxBacktrack){
|
1079
|
-
var container = this.container, self = this, active = this.options.activeTokens;
|
1080
|
-
var lines = (typeof target == "number" ? target : null);
|
1081
|
-
|
1082
|
-
if (!container.firstChild)
|
1083
|
-
return;
|
1084
|
-
// Backtrack to the first node before from that has a partial
|
1085
|
-
// parse stored.
|
1086
|
-
while (from && (!from.parserFromHere || from.dirty)) {
|
1087
|
-
from = from.previousSibling;
|
1088
|
-
if (maxBacktrack != null && from.nodeName == "BR" && (--maxBacktrack) < 0)
|
1089
|
-
return false;
|
1090
|
-
}
|
1091
|
-
// If we are at the end of the document, do nothing.
|
1092
|
-
if (from && !from.nextSibling)
|
1093
|
-
return;
|
1094
|
-
|
1095
|
-
// Check whether a part (<span> node) and the corresponding token
|
1096
|
-
// match.
|
1097
|
-
function correctPart(token, part){
|
1098
|
-
return !part.reduced && part.currentText == token.value && part.className == token.style;
|
1099
|
-
}
|
1100
|
-
// Shorten the text associated with a part by chopping off
|
1101
|
-
// characters from the front. Note that only the currentText
|
1102
|
-
// property gets changed. For efficiency reasons, we leave the
|
1103
|
-
// nodeValue alone -- we set the reduced flag to indicate that
|
1104
|
-
// this part must be replaced.
|
1105
|
-
function shortenPart(part, minus){
|
1106
|
-
part.currentText = part.currentText.substring(minus);
|
1107
|
-
part.reduced = true;
|
1108
|
-
}
|
1109
|
-
// Create a part corresponding to a given token.
|
1110
|
-
function tokenPart(token){
|
1111
|
-
var part = makePartSpan(token.value, self.doc);
|
1112
|
-
part.className = token.style;
|
1113
|
-
return part;
|
1114
|
-
}
|
1115
|
-
|
1116
|
-
function maybeTouch(node) {
|
1117
|
-
if (node) {
|
1118
|
-
if (node.nextSibling != node.oldNextSibling) {
|
1119
|
-
self.history.touch(node);
|
1120
|
-
node.oldNextSibling = node.nextSibling;
|
1121
|
-
}
|
1122
|
-
}
|
1123
|
-
else {
|
1124
|
-
if (self.container.firstChild != self.container.oldFirstChild) {
|
1125
|
-
self.history.touch(node);
|
1126
|
-
self.container.oldFirstChild = self.container.firstChild;
|
1127
|
-
}
|
1128
|
-
}
|
1129
|
-
}
|
1130
|
-
|
1131
|
-
// Get the token stream. If from is null, we start with a new
|
1132
|
-
// parser from the start of the frame, otherwise a partial parse
|
1133
|
-
// is resumed.
|
1134
|
-
var traversal = traverseDOM(from ? from.nextSibling : container.firstChild),
|
1135
|
-
stream = stringStream(traversal),
|
1136
|
-
parsed = from ? from.parserFromHere(stream) : Editor.Parser.make(stream);
|
1137
|
-
|
1138
|
-
// parts is an interface to make it possible to 'delay' fetching
|
1139
|
-
// the next DOM node until we are completely done with the one
|
1140
|
-
// before it. This is necessary because often the next node is
|
1141
|
-
// not yet available when we want to proceed past the current
|
1142
|
-
// one.
|
1143
|
-
var parts = {
|
1144
|
-
current: null,
|
1145
|
-
// Fetch current node.
|
1146
|
-
get: function(){
|
1147
|
-
if (!this.current)
|
1148
|
-
this.current = traversal.nodes.shift();
|
1149
|
-
return this.current;
|
1150
|
-
},
|
1151
|
-
// Advance to the next part (do not fetch it yet).
|
1152
|
-
next: function(){
|
1153
|
-
this.current = null;
|
1154
|
-
},
|
1155
|
-
// Remove the current part from the DOM tree, and move to the
|
1156
|
-
// next.
|
1157
|
-
remove: function(){
|
1158
|
-
container.removeChild(this.get());
|
1159
|
-
this.current = null;
|
1160
|
-
},
|
1161
|
-
// Advance to the next part that is not empty, discarding empty
|
1162
|
-
// parts.
|
1163
|
-
getNonEmpty: function(){
|
1164
|
-
var part = this.get();
|
1165
|
-
// Allow empty nodes when they are alone on a line, needed
|
1166
|
-
// for the FF cursor bug workaround (see select.js,
|
1167
|
-
// insertNewlineAtCursor).
|
1168
|
-
while (part && part.nodeName == "SPAN" && part.currentText == "") {
|
1169
|
-
var old = part;
|
1170
|
-
this.remove();
|
1171
|
-
part = this.get();
|
1172
|
-
// Adjust selection information, if any. See select.js for details.
|
1173
|
-
select.snapshotMove(old.firstChild, part && (part.firstChild || part), 0);
|
1174
|
-
}
|
1175
|
-
return part;
|
1176
|
-
}
|
1177
|
-
};
|
1178
|
-
|
1179
|
-
var lineDirty = false, prevLineDirty = true, lineNodes = 0;
|
1180
|
-
|
1181
|
-
// This forEach loops over the tokens from the parsed stream, and
|
1182
|
-
// at the same time uses the parts object to proceed through the
|
1183
|
-
// corresponding DOM nodes.
|
1184
|
-
forEach(parsed, function(token){
|
1185
|
-
var part = parts.getNonEmpty();
|
1186
|
-
|
1187
|
-
if (token.value == "\n"){
|
1188
|
-
// The idea of the two streams actually staying synchronized
|
1189
|
-
// is such a long shot that we explicitly check.
|
1190
|
-
if (part.nodeName != "BR")
|
1191
|
-
throw "Parser out of sync. Expected BR.";
|
1192
|
-
|
1193
|
-
if (part.dirty || !part.indentation) lineDirty = true;
|
1194
|
-
maybeTouch(from);
|
1195
|
-
from = part;
|
1196
|
-
|
1197
|
-
// Every <br> gets a copy of the parser state and a lexical
|
1198
|
-
// context assigned to it. The first is used to be able to
|
1199
|
-
// later resume parsing from this point, the second is used
|
1200
|
-
// for indentation.
|
1201
|
-
part.parserFromHere = parsed.copy();
|
1202
|
-
part.indentation = token.indentation;
|
1203
|
-
part.dirty = false;
|
1204
|
-
|
1205
|
-
// If the target argument wasn't an integer, go at least
|
1206
|
-
// until that node.
|
1207
|
-
if (lines == null && part == target) throw StopIteration;
|
1208
|
-
|
1209
|
-
// A clean line with more than one node means we are done.
|
1210
|
-
// Throwing a StopIteration is the way to break out of a
|
1211
|
-
// MochiKit forEach loop.
|
1212
|
-
if ((lines != null && --lines <= 0) || (!lineDirty && !prevLineDirty && lineNodes > 1 && !cleanLines))
|
1213
|
-
throw StopIteration;
|
1214
|
-
prevLineDirty = lineDirty; lineDirty = false; lineNodes = 0;
|
1215
|
-
parts.next();
|
1216
|
-
}
|
1217
|
-
else {
|
1218
|
-
if (part.nodeName != "SPAN")
|
1219
|
-
throw "Parser out of sync. Expected SPAN.";
|
1220
|
-
if (part.dirty)
|
1221
|
-
lineDirty = true;
|
1222
|
-
lineNodes++;
|
1223
|
-
|
1224
|
-
// If the part matches the token, we can leave it alone.
|
1225
|
-
if (correctPart(token, part)){
|
1226
|
-
part.dirty = false;
|
1227
|
-
parts.next();
|
1228
|
-
}
|
1229
|
-
// Otherwise, we have to fix it.
|
1230
|
-
else {
|
1231
|
-
lineDirty = true;
|
1232
|
-
// Insert the correct part.
|
1233
|
-
var newPart = tokenPart(token);
|
1234
|
-
container.insertBefore(newPart, part);
|
1235
|
-
if (active) active(newPart, token, self);
|
1236
|
-
var tokensize = token.value.length;
|
1237
|
-
var offset = 0;
|
1238
|
-
// Eat up parts until the text for this token has been
|
1239
|
-
// removed, adjusting the stored selection info (see
|
1240
|
-
// select.js) in the process.
|
1241
|
-
while (tokensize > 0) {
|
1242
|
-
part = parts.get();
|
1243
|
-
var partsize = part.currentText.length;
|
1244
|
-
select.snapshotReplaceNode(part.firstChild, newPart.firstChild, tokensize, offset);
|
1245
|
-
if (partsize > tokensize){
|
1246
|
-
shortenPart(part, tokensize);
|
1247
|
-
tokensize = 0;
|
1248
|
-
}
|
1249
|
-
else {
|
1250
|
-
tokensize -= partsize;
|
1251
|
-
offset += partsize;
|
1252
|
-
parts.remove();
|
1253
|
-
}
|
1254
|
-
}
|
1255
|
-
}
|
1256
|
-
}
|
1257
|
-
});
|
1258
|
-
maybeTouch(from);
|
1259
|
-
webkitLastLineHack(this.container);
|
1260
|
-
|
1261
|
-
// The function returns some status information that is used by
|
1262
|
-
// hightlightDirty to determine whether and where it has to
|
1263
|
-
// continue.
|
1264
|
-
return {left: lines,
|
1265
|
-
node: parts.getNonEmpty(),
|
1266
|
-
dirty: lineDirty};
|
1267
|
-
}
|
1268
|
-
};
|
1269
|
-
|
1270
|
-
return Editor;
|
1271
|
-
})();
|
1272
|
-
|
1273
|
-
addEventHandler(window, "load", function() {
|
1274
|
-
var CodeMirror = window.frameElement.CodeMirror;
|
1275
|
-
CodeMirror.editor = new Editor(CodeMirror.options);
|
1276
|
-
this.parent.setTimeout(method(CodeMirror, "init"), 0);
|
1277
|
-
});
|
1278
|
-
</textarea>
|
1279
|
-
</div>
|
1280
|
-
|
1281
|
-
<script type="text/javascript">
|
1282
|
-
var textarea = document.getElementById('code');
|
1283
|
-
var editor = new CodeMirror(CodeMirror.replace(textarea), {
|
1284
|
-
height: "750px",
|
1285
|
-
width: "100%",
|
1286
|
-
content: textarea.value,
|
1287
|
-
parserfile: ["tokenizejavascript.js", "parsejavascript.js"],
|
1288
|
-
stylesheet: "css/jscolors.css",
|
1289
|
-
path: "js/",
|
1290
|
-
autoMatchParens: true,
|
1291
|
-
initCallback: function(editor){editor.win.document.body.lastChild.scrollIntoView();}
|
1292
|
-
});
|
1293
|
-
</script>
|
1294
|
-
|
1295
|
-
</body>
|
1296
|
-
</html>
|