Commit Graph

54 Commits

Author SHA1 Message Date
martin
db010cf64c SynEdit: Fixed regression from revision 19907 #e747489eff/19908 #a24043f0e8, Chinese/Eastern DoubleWidth fonts where drawn with too much spacing. Bug #13764
git-svn-id: trunk@20052 -
2009-05-19 18:24:21 +00:00
martin
2607eec3c3 SynEdit: TextLayout added debug output
git-svn-id: trunk@19944 -
2009-05-12 13:49:02 +00:00
martin
cb1aabd1fe SynEdit: TextLayout improved for MacOs, added debug output
git-svn-id: trunk@19942 -
2009-05-12 13:35:43 +00:00
martin
fb2740c0d9 SynEdit: fixed font width checks; missing overhang from TextMetrics / fixed BaseStyle
git-svn-id: trunk@19916 -
2009-05-11 00:45:10 +00:00
martin
a24043f0e8 SynEdit: Improved detection of Font dimension according to all styles used by highlighter
git-svn-id: trunk@19908 -
2009-05-10 15:30:02 +00:00
martin
e747489eff SynEdit: Reimplemented detection of CharAdvandce/Width; fix issue #13651; Also better display for proportional fonts, through better detection of widest char (often "@", not "M")
git-svn-id: trunk@19907 -
2009-05-10 14:56:32 +00:00
martin
91feaaad58 SynEdit: Removed unused DBCS code
git-svn-id: trunk@19905 -
2009-05-10 12:38:04 +00:00
martin
7ee15b0d8e SynEdit: Change the order in which lines, frames and text is drawn. Fixes issue #13436
git-svn-id: trunk@19224 -
2009-04-04 23:51:31 +00:00
martin
9918770992 SynEdit: Customizable DividerDraw settings (solves issue #13322)
git-svn-id: trunk@19220 -
2009-04-04 18:27:45 +00:00
martin
ee9dc98baf SynEdit, more checks to ensure enforced monospace
git-svn-id: trunk@18540 -
2009-02-03 00:03:48 +00:00
martin
2ee4dda931 SynEdit, Cleanup: removed some unused code
git-svn-id: trunk@18537 -
2009-02-02 21:31:30 +00:00
martin
1f63b94575 SynEdit TextDrawer, cleanup: Since it is using the LCL, it doesn't need to maintain copies of LCL code
git-svn-id: trunk@18529 -
2009-02-01 15:00:26 +00:00
martin
5a20e5938c SynEdit, Fold: Draw a dotted box, after folded lines
git-svn-id: trunk@18149 -
2009-01-05 23:41:33 +00:00
martin
6e84e44ae3 SynEdit, fix drawing of Frame-Highlights
git-svn-id: trunk@18071 -
2009-01-03 02:00:34 +00:00
paul
f69fe79d0e synedit: don't statically use pen with FrameColor for TextDrawer, just create, select and delete it on demand. In other case it affects gutter and margin which uses pens too.
git-svn-id: trunk@17562 -
2008-11-24 03:41:07 +00:00
paul
469bafd646 synedit: add support for FrameColor in Markups, TextDrawer, etc
git-svn-id: trunk@17549 -
2008-11-23 16:33:41 +00:00
martin
ff7e434cf4 SynEdit: Avoid crash with corrupt font-data. (Bug #12563). This is a fix for the crash, rendering of a none-renderable font is a welcome side-effect.
git-svn-id: trunk@17513 -
2008-11-22 13:41:02 +00:00
vincents
34b6f45af2 synedit: fised implementation of GetStyleIndex, hint from Martin Friebe (issue #12620)
git-svn-id: trunk@17376 -
2008-11-13 18:41:53 +00:00
tombo
838dd9d2c9 synedit: applied patch #0012606: Carbon : Editor font rendering badly damaged for default font, point size 14 on PowerPC rev 17304 #80581bd7cb from Brad Campbell
git-svn-id: trunk@17319 -
2008-11-10 15:25:21 +00:00
martin
9e060e48c6 Fix ExtraCharSpacing (Bug #11824) Extra Space was accumulated across blocks of text.
git-svn-id: trunk@17254 -
2008-11-06 20:09:24 +00:00
vincents
ad4ab60d09 synedit: fixed issue #12555
* removed lazarus specific code to linearize the possible values of a set, not necessary anymore since the internal format of set has changed on big endian cpu, see http://wiki.lazarus.freepascal.org/index.php?title=User_Changes_2.2.2&oldid=31423#Internal_format_of_sets

git-svn-id: trunk@17199 -
2008-11-03 15:14:09 +00:00
tombo
d4de936c86 IDE EditorOptions: added option to disable code editor anti-aliasing
SynEdit: fix TFont.Quality handling

git-svn-id: trunk@16921 -
2008-10-07 16:54:08 +00:00
mattias
e97270c3db reduced warnigns
git-svn-id: trunk@15928 -
2008-07-31 11:45:06 +00:00
mattias
f7943628fa gtk intf: Avoid the creation of WidgetInfo to combox childs, Update the ItemIndex cache when inserting items, from Luiz
git-svn-id: trunk@15894 -
2008-07-27 21:13:41 +00:00
paul
5a8035a802 some Handle => Reference.Handle replacement in lazarus parts of synedit
git-svn-id: trunk@13496 -
2007-12-28 06:05:54 +00:00
mattias
63a8c982ad gtk intf: fixed crash on paste for 64 bit
git-svn-id: trunk@11697 -
2007-07-31 23:13:06 +00:00
mattias
9747f91093 added FontIsMonoSpace
git-svn-id: trunk@10043 -
2006-10-05 21:50:05 +00:00
vincents
1742704d47 starter: StartLazarus accepts --debug parameter: debug output will be written to debug.log file in the primary config directory (issue #1307).
Modified patch from Bogusław Brandys 

git-svn-id: trunk@9817 -
2006-09-05 13:24:17 +00:00
mattias
9af660b3bb synedit: enabled HE_LEADBYTES to disable the leadbyte code, not needed by lazarus
git-svn-id: trunk@9804 -
2006-09-04 10:00:39 +00:00
mattias
514a2910d2 synedit: disabled distance array, when USE_UTF8BIDI_LCL
git-svn-id: trunk@9567 -
2006-07-05 21:45:29 +00:00
mattias
31810fcee6 gtk2 intf: GDI fonts are now pango layouts instead of pango font descriptions, using the font cache similar to gtk1
git-svn-id: trunk@9499 -
2006-06-27 11:28:17 +00:00
mattias
3e00d7d57f gtk intf: improved font selection for synedit from Darek
git-svn-id: trunk@9424 -
2006-06-12 19:20:57 +00:00
mattias
ce294c63d5 various fixes for carbon
git-svn-id: trunk@8428 -
2006-01-04 00:09:36 +00:00
marc
b9a3f7efef * 64 bit patch from Peter Vreman
git-svn-id: trunk@6977 -
2005-03-18 00:05:25 +00:00
mattias
a21cbfceca improved gtk intf to calculate TextHeight
git-svn-id: trunk@6625 -
2005-01-17 15:36:31 +00:00
mattias
9cbff0982c added default values for compiler skip options and improved many parts of synedit for UTF8
git-svn-id: trunk@5919 -
2004-09-04 22:24:16 +00:00
mattias
725ee3133d improved double byte char fonts for gtk1, started synedit UTF8 support
git-svn-id: trunk@5906 -
2004-09-02 09:17:00 +00:00
mattias
434b161072 changed TColorRef from longword to longint
git-svn-id: trunk@4958 -
2003-12-26 10:16:54 +00:00
mattias
4d53e93709 started key combinations, fixed some range check errors
git-svn-id: trunk@4937 -
2003-12-23 11:16:41 +00:00
mattias
5e5c1122a7 renamed LCLLinux to LCLIntf
git-svn-id: trunk@4637 -
2003-09-18 09:21:03 +00:00
mattias
5095706b4c improved ExtTxtOut: support for char dist array
git-svn-id: trunk@3688 -
2002-12-07 08:42:08 +00:00
mattias
801656d902 double byte char font started
git-svn-id: trunk@3687 -
2002-12-05 22:16:28 +00:00
lazarus
0c825a7d38 MG: added patch from Andrew
git-svn-id: trunk@2167 -
2002-08-17 23:41:04 +00:00
lazarus
610cb824e9 MG: fixed fonts in XLFD format and styles
git-svn-id: trunk@1726 -
2002-06-05 12:33:58 +00:00
lazarus
31798d03be MG: changed except statements to more verbosity
git-svn-id: trunk@1590 -
2002-04-04 12:25:02 +00:00
lazarus
20321075df MG: fixed mem leaks
git-svn-id: trunk@1587 -
2002-04-03 18:20:51 +00:00
lazarus
8e4ae5f28d MG: fixed synedit crash on exit
git-svn-id: trunk@1476 -
2002-03-04 10:01:01 +00:00
lazarus
2e084658ef MG: find declaration: fixed function in with context
git-svn-id: trunk@1475 -
2002-03-04 07:28:53 +00:00
lazarus
c9e180acac TPanel implemented.
Basic graphic primitives split into GraphType package, so that we can
reference it from interface (GTK, Win32) units.
New Frame3d canvas method that uses native (themed) drawing (GTK only).
New overloaded Canvas.TextRect method.
LCLLinux and Graphics was split, so a bunch of files had to be modified.

git-svn-id: trunk@653 -
2002-02-03 00:24:02 +00:00
lazarus
68eca96428 MG: fixed mem leaks and fixed range check errors
git-svn-id: trunk@334 -
2001-09-30 08:34:52 +00:00