Commit Graph

54 Commits (6f9c4f7f09d6d4041a851b08a012a2467aa79b80)

Author SHA1 Message Date
Torsten Paul 6f9c4f7f09 Integrate with QSettings. 2014-12-29 00:29:09 +01:00
Torsten Paul 6c25d5ccb6 Add more settings (AutoIndent / TabIndents / IndentationsUseTabs). 2014-12-27 02:59:11 +01:00
Torsten Paul 0cb6b3267a Add editor settings. 2014-12-27 02:17:15 +01:00
Torsten Paul 128498a678 Allow reading the keyword lists from the color scheme files. 2014-12-20 17:27:18 +01:00
Torsten Paul b1871c6309 Fix color schemes (brace highlight / selection color / line-end markers). 2014-12-20 02:51:11 +01:00
Marius Kintel f0c7ee6d61 #1068 Attempt to fix the Windows line ending issue 2014-12-17 16:19:13 -05:00
Torsten Paul ca3672b19c Move translation files to locale folder instead of po.
While this is not the standard name for the files, this makes the
resource handling easier as the PlatformUtils code already handles
lookup for both installed and dev layouts. At least for Linux the
installed name would be /usr/share/locale, so we use that in source
too for now.
2014-11-13 00:24:44 +01:00
Torsten Paul 7c3077b0f2 Read color schemes from additional user config path. 2014-11-01 23:06:36 +01:00
Torsten Paul 0886944fcd Handle setting of additional color schemes. 2014-11-01 20:51:36 +01:00
Torsten Paul 23275dc927 Get color schemes from editor; Enumerate from resource folder for scintilla. 2014-11-01 20:51:36 +01:00
Torsten Paul 395795949e Move color scheme values into resource files. 2014-11-01 20:51:36 +01:00
Torsten Paul 32874b6d92 Retain selection after comment/uncomment (fixes #986). 2014-10-17 23:42:34 +02:00
Marius Kintel c577c7e501 Calling signals from outside is only possible with Qt5. This is probably the wrong hack anyway 2014-10-12 23:13:15 -04:00
Marius Kintel 1cc4f6be53 update the previous fix: SCN_SAVEPOINTLEFT() is only accessible in QScintilla >= 2.8, always save the file on actionSave() 2014-10-11 18:59:27 -04:00
Marius Kintel d064b9238f bugfix: When saving an unmodified file using Save As, the file wasn't actually saved 2014-10-11 18:38:34 -04:00
Torsten Paul 1776bcd460 Add menu entry to convert tabs to spaces. 2014-09-19 23:25:49 +02:00
Torsten Paul cdb4120dcb Set indentation defaults. 2014-09-19 23:25:03 +02:00
Marius Kintel 45a649d6ab #879 fix some keyboard binding issues 2014-09-03 15:00:52 -04:00
Torsten Paul c5c5a02163 Implement indent/unindent and comment/uncomment. 2014-08-24 23:49:13 +02:00
Marius Kintel 99bc04c9ab #879 scintilla editor incorrectly reported a freshly opened file as modified 2014-08-24 17:40:46 -04:00
shaina7837 257af85259 brace matching, cursor display and line number scaling is fixed as per the todo list 2014-08-23 20:29:54 +05:30
Marius Kintel ee89658df3 Use selection as text for find function 2014-08-23 01:25:29 -04:00
Marius Kintel 3c45262ea8 cosmetics 2014-08-23 00:53:49 -04:00
Marius Kintel 759e926b9a Added Q_OBJECT macro to make slots work, made wrapping look more like existing editor 2014-08-22 18:54:09 -04:00
Marius Kintel 10f4a52985 #879 Handle document modification signals, make editor interface more abstract 2014-08-22 18:39:12 -04:00
Marius Kintel f6b74eb6e0 Fixed a search&replace bug, removed some unused code 2014-08-22 18:10:58 -04:00
Marius Kintel 79f44ae7fa Fix file drops to legacy editor, misc. cosmetics 2014-08-22 14:17:24 -04:00
Marius Kintel c59d3aef79 indentation 2014-08-22 13:42:23 -04:00
shaina7837 b54710404a minor code cleanup 2014-08-18 09:43:43 +05:30
shaina7837 91ed8723c3 font and size operations in preferences are working for qscintilla editor 2014-08-15 14:13:58 +05:30
Marius Kintel 5c3cfa4e98 Make real-time find work 2014-08-13 18:58:59 -04:00
Marius Kintel a25f02780e #879 Fix forward/backward search in the scintilla editor 2014-08-13 18:52:01 -04:00
shaina7837 fbc13a7456 added generic function in editor interface 2014-08-13 21:29:56 +05:30
Marius Kintel e9edb69603 Some adjustment of default color scheme 2014-08-10 00:56:04 -05:00
shaina7837 46a948d302 find and replace working in scintillaeditor 2014-08-07 07:34:37 +05:30
shaina7837 7da7c07918 added solarized theme 2014-08-05 19:23:10 +05:30
shaina7837 fbceb0bdd8 added Monokai theme color scheme in scintilla editor 2014-08-05 07:52:30 +05:30
shaina7837 a70c4eb8e2 added box style folding 2014-08-03 22:29:17 +05:30
shaina7837 9e4cf7f326 tab width made default 2014-08-03 17:59:10 +05:30
shaina7837 a23f54a416 changed tab with to 4 characters 2014-08-03 17:40:06 +05:30
Marius Kintel 514a34a85f bugfix: always return a bool 2014-07-17 15:10:58 -04:00
shaina7837 91d4929af7 content modified message without modifying anything problem get solved 2014-07-11 20:32:30 +05:30
shaina7837 6a67c0b6bb highlighting and background color set 2014-06-20 12:07:40 +05:30
shaina7837 0b6814f253 syntax highlighting implemented 2014-06-19 22:53:00 +05:30
shaina7837 25bf6dd20b new lexer added 2014-06-17 21:45:04 +05:30
shaina7837 9d35c792ed scad lexer added 2014-06-17 21:04:54 +05:30
shaina7837 6ff02a9ada editor padding removed 2014-06-13 06:10:47 +05:30
shaina7837 6b8acb0d3a error indicator with line marker 2014-06-12 20:26:18 +05:30
shaina7837 9f276a5788 error indicator implemented 2014-06-12 13:31:28 +05:30
shaina7837 a297a1b0aa syntax highlighting 2014-06-11 15:59:05 +05:30