Commit Graph

19 Commits (master)

Author SHA1 Message Date
Marius Kintel e3960304bd #879 Implemented wheel zoom for scintilla editor 2014-08-23 01:18:51 -04:00
Marius Kintel 79f44ae7fa Fix file drops to legacy editor, misc. cosmetics 2014-08-22 14:17:24 -04:00
shaina 950ffe9722 layout problem of editor is solved 2014-06-07 17:43:52 +02:00
shaina 5a0df4e6d9 legacyeditor 2014-06-07 17:43:46 +02:00
Torsten Paul cb5904d685 Overwrite sizeHint() for the editor to handle missing window state information.
This triggers only in case the configuration file has no window state
information (or no configuration file at all).
When this happens, the editor would default to a very ugly width due to
the dock widget layout. This overwrites the value reported via sizeHint()
to a width a bit smaller than half the main window size (either the one
loaded from the configuration or the default value of 800).
The height is only a dummy value which will be essentially ignored by
the layouting as the editor is set to expand to fill the available space.
2014-05-12 22:47:47 +02:00
Marius Kintel a9f9fb342a #252 Make filename drops on the editor open the file 2014-04-25 00:54:22 -04:00
Don Bright f0f2a68899 fix issue #751 2014-04-10 00:21:24 -05:00
Don Bright 0d8c9359b5 fix build errors 2014-03-18 18:59:47 -05:00
Don Bright 3022a83148 disable ctrl-mouse-wheel zoom on Mac by default. add preference to toggle 2014-03-18 18:52:15 -05:00
Don Bright e2d6afecf5 fix crash bug (mainwindow no longer has a 'highlighter' member) 2014-02-26 22:39:07 -06:00
Don Bright 838e80ae34 refactor + rehighlight only if we are no doing a reload (issue #406) 2014-02-17 13:19:42 -06:00
Ricardo Markiewicz afe1fbcb53 Move main code inside Editor class
Before open a new file now we cleanup the Editor, so the new file get the cursor
on the first character.
2013-11-29 01:40:28 -03:00
don bright a82651de31 remove QCodeEditor inspired by Giles Bathgates Jan 7 2012 email to list 2013-01-08 20:07:28 -06:00
don bright 24fbfdf955 fix broken mousewheel scrolling (bug introduced by ctrl-wheel-zoom feature) 2012-08-01 14:57:38 -05:00
don bright 7f64312172 clarify comment 2012-07-22 20:58:07 -05:00
don bright 86b5fc02f5 on control + mousewheel, zoomin/zoomout text (like firefox, IE, etc) 2012-07-22 20:56:01 -05:00
don bright b33a02b372 remove debugging statements 2012-07-22 20:45:12 -05:00
don bright 3c7a85af57 debugging and rearranging to find issue 2012-07-22 20:16:37 -05:00
kintel 1fb93c2985 Replaced main text editor with a qcodeedit widget
git-svn-id: http://svn.clifford.at/openscad/trunk@500 b57f626f-c46c-0410-a088-ec61d464b74c
2010-04-03 03:05:05 +00:00