Commit Graph

3962 Commits

Author SHA1 Message Date
jesus
e9c207884b Printers, fix PageWidth/PageHeight after orientation change on printer setup dialog (cups), issue #13357
git-svn-id: trunk@19040 -
2009-03-20 07:27:13 +00:00
jesus
ab9803aa11 Printers, removed debug ouput from sample
git-svn-id: trunk@19029 -
2009-03-18 22:50:06 +00:00
jesus
9f6d8b7b46 Printers, center text and ellipse drawing on selectprinter sample
git-svn-id: trunk@19028 -
2009-03-18 22:47:58 +00:00
ask
073e79c380 TAChart: Improve reticules.
- unify and simplify reticule drawing
  - allow vertical, horizontal or cross reticules
  - update demo

git-svn-id: trunk@19025 -
2009-03-18 16:24:07 +00:00
ask
c3693ef736 TAChart: Use operator= instead of EqualPoints function.
git-svn-id: trunk@19024 -
2009-03-18 11:57:52 +00:00
ask
c6c378afb6 TAChart: Introduce OnDrawPointer event for line series
git-svn-id: trunk@19022 -
2009-03-18 10:26:01 +00:00
martin
f94d7915da SynEdit: Fixed a painting bug, caused by a wrong topline in the folding module. This was caused tools outside SynEdit would replace text (code-formatting, etc)
git-svn-id: trunk@19010 -
2009-03-17 00:18:46 +00:00
martin
a487572de8 SynEdit: Fix crash in designer, when closing form or deleting a Highlighter that was assigned to SynEdit. (Notification would not remove all references to the highlighter)
git-svn-id: trunk@19009 -
2009-03-16 21:43:01 +00:00
martin
51d4db2ebc Synedit: Fixed insert space in new empty text, would cause exception
git-svn-id: trunk@19008 -
2009-03-16 20:26:21 +00:00
jesus
e451ddd26b Printers, fix typo in selectprinter sample
git-svn-id: trunk@19006 -
2009-03-16 05:29:02 +00:00
martin
d75f823e24 Fix revision 19004 #3f77b5575f => somehow an extra line made it into the code
git-svn-id: trunk@19005 -
2009-03-15 23:06:24 +00:00
martin
3f77b5575f SynEdit C++ Highlighter: Add multi line strings. Issue #13308 Based on a patch by equinox
git-svn-id: trunk@19004 -
2009-03-15 21:26:51 +00:00
jesus
36cd39a33d Printers, fix page orientation when user has not changed job options of cups printer
git-svn-id: trunk@19003 -
2009-03-15 18:34:22 +00:00
martin
d92087e835 SynEdit: fix range check error from revision 19001 #a26d1805de
git-svn-id: trunk@19002 -
2009-03-15 17:59:35 +00:00
martin
a26d1805de SynEdit: Refactor the Undo/Redo system. Should fix some issues with column selection too; and enables group-undo for all kind of edit-actions; also fixes bug #13298
git-svn-id: trunk@19001 -
2009-03-15 16:56:58 +00:00
martin
b8e7143c97 IDE, Printing: Fix printing the source or selection would miss the last line out (Bug #13267)
git-svn-id: trunk@19000 -
2009-03-15 16:54:08 +00:00
paul
0b6b0bc4ea synedit: invalidate gutter when we add/remove debug marks
git-svn-id: trunk@18996 -
2009-03-15 06:10:47 +00:00
paul
25fc0e9b9c synedit: allow to set/clear debug execution marks
git-svn-id: trunk@18992 -
2009-03-14 19:01:35 +00:00
ask
e349453a72 TAChart: refactor TSeriesPointer.Draw
git-svn-id: trunk@18981 -
2009-03-13 12:51:17 +00:00
ask
ff8f6f5edd TAChart: Moved TSeriesPointer class to TATypes unit and inherited it from TChartElement.
git-svn-id: trunk@18980 -
2009-03-13 11:49:02 +00:00
ask
ba49804ad6 TAChart: Extracted ColorOrDefault function
git-svn-id: trunk@18975 -
2009-03-13 04:28:36 +00:00
jesus
5b8f46539e Printers, added test for printing images to selectprinter sample
git-svn-id: trunk@18972 -
2009-03-12 22:18:27 +00:00
jesus
5066e9c035 LazReport, published OnGetValue in TfrPrintGrid so templates can modify custom variables
git-svn-id: trunk@18971 -
2009-03-12 20:43:57 +00:00
martin
373ac65497 SynEdit: Fixed drawing random (divider) lines into empty space below EOF. This happened if the very last line had a divider-draw line, and the window's empty part was partly redrawn.
git-svn-id: trunk@18970 -
2009-03-12 19:44:15 +00:00
jesus
a9de954bca SynEdit, fix CTRL+Click after r18951 #d999a5db3b strict check
git-svn-id: trunk@18961 -
2009-03-11 20:35:43 +00:00
martin
87664b1185 SynEdit: fixed pageUp/Down for Column mode selection (thanks dmitry boyarintsev)
git-svn-id: trunk@18960 -
2009-03-11 18:04:11 +00:00
paul
0103c56f6a synedit: some changes for marks
- move marks compare functions to the SynEditMarks
  - return marks sorted by drawing order in GetMarksForLine
  - increase default gutter width for marks (we did not include LeftOffset of the bookmark options)
 

git-svn-id: trunk@18952 -
2009-03-11 03:19:54 +00:00
martin
d999a5db3b SynEdit, inconsistent handling of MouseLinks. Some code suppressed MouseLinks if shift or alt where pressed too, other code would still handle the links. Now the modifier key (ctrl or meta) has to be pressed without shift or alt.
git-svn-id: trunk@18951 -
2009-03-10 22:58:16 +00:00
martin
7a5c870566 SynEdit: make shift-alt-left_mouse behave similar to shift-left_mouse. Start selection from old caret position. Issue #13238
git-svn-id: trunk@18950 -
2009-03-10 22:12:47 +00:00
paul
c21cb3f74f synedit, ide: add TSynMark.Priority to order marks at the same line. Make CurrentLine mark priority bigger
git-svn-id: trunk@18948 -
2009-03-10 15:19:48 +00:00
mattias
4ba2b2770c codetools: implemented class-of without point operator, bug #8759
git-svn-id: trunk@18928 -
2009-03-09 15:20:30 +00:00
mattias
dea25b8bc2 codetools: lfm parser: fixed FindProperty, thanks to Mazen
git-svn-id: trunk@18925 -
2009-03-09 14:04:11 +00:00
martin
ca8233b52a SynEdit: Paste of column-mode block, would fail if the inserted text hit the EOF. Patch by dmitry boyarintsev
git-svn-id: trunk@18914 -
2009-03-07 21:31:15 +00:00
martin
467d8360d8 SynEdit: minor fix in the way Scanfrom is called (max() instead of min())
git-svn-id: trunk@18912 -
2009-03-07 15:42:52 +00:00
martin
ed7b49c4d1 SynEdit: Fixed Column mode (revision 18908 #72776045a9): deleting a column selection, would actually delete the normal selection with the same end-points
git-svn-id: trunk@18910 -
2009-03-07 14:06:00 +00:00
martin
72776045a9 SynEdit: Add key-bindings for column-mode-selection (ALT-Shift-Cursor*). Issue #13238. (Based on a patch by dmitry boyarintsev)
git-svn-id: trunk@18908 -
2009-03-07 12:20:26 +00:00
martin
1929a0bdbf SynEdit: Don't eat Key that aren't assigned to SynEdit Bug #9396. SynEdit would block Menu-Shortcut, even if the Key had no meaning to SynEdit.
git-svn-id: trunk@18907 -
2009-03-06 23:25:32 +00:00
martin
7ce27f39c4 SynEdit: missed a property To-Skip: "Gutter.OnChange" => this was removed a while ago
git-svn-id: trunk@18906 -
2009-03-06 22:58:48 +00:00
paul
2ee7e2cfc6 codetools: don't remove node twice in TDOMNode_WithChildren.ReplaceChild (fixes bug #0010596)
git-svn-id: trunk@18901 -
2009-03-06 03:44:12 +00:00
ask
49c1f81e65 TAChart: Extracted TBasicPointSeries.DrawLabels method
git-svn-id: trunk@18893 -
2009-03-04 12:58:01 +00:00
ask
3667b3ea5e TAChart: Refactoring: use points instead of separate x and y coordinates
git-svn-id: trunk@18890 -
2009-03-04 08:35:59 +00:00
jesus
f4b3de8644 LazReport, filled first field first record in dbf sample table
git-svn-id: trunk@18887 -
2009-03-03 20:30:21 +00:00
ask
76e2cc9985 TAChart: Labels drawing for line and area series.
git-svn-id: trunk@18886 -
2009-03-03 19:16:49 +00:00
ask
1653ff764a TAChart: extract InitHelper method
git-svn-id: trunk@18885 -
2009-03-03 18:39:37 +00:00
ask
a99d32c9be TAChart: Add Frame, LabelBrush, LabelFont, LinkPen properties to TChartMarks, use them for drawing. Update demo.
git-svn-id: trunk@18884 -
2009-03-03 18:28:44 +00:00
ask
ddda8edc89 TAChart: add TChartMarks.Distance property.
git-svn-id: trunk@18883 -
2009-03-03 16:42:27 +00:00
ask
6e5def3ad7 TAChart: Group series mark parameters into TChartMarks class. Update demo.
git-svn-id: trunk@18882 -
2009-03-03 16:32:50 +00:00
ask
d8843a5d5d TAChart: Extracted TChartElement class. Fixed few bugs in Assign and SetXXX methods.
git-svn-id: trunk@18881 -
2009-03-03 16:02:32 +00:00
ask
bc49d5bfb4 TAChart: extracted auxiliary chart elements into a TATypes unit. Fixed style.
git-svn-id: trunk@18880 -
2009-03-03 15:42:24 +00:00
mattias
7a6e522055 translations: german: updates from Joerg Braun
git-svn-id: trunk@18875 -
2009-03-02 21:56:58 +00:00
mattias
4ff9b11e59 translations: german: updates from Joerg Braun
git-svn-id: trunk@18874 -
2009-03-02 21:56:37 +00:00
ask
8cbced0728 TAChart: remove leftover {$MODE DELPHI}
git-svn-id: trunk@18873 -
2009-03-02 15:23:51 +00:00
ask
17114c5ab7 TAChart: use margins in bar series. Default scale for bar series now adujsts to display labels.
git-svn-id: trunk@18872 -
2009-03-02 15:23:13 +00:00
ask
ca17997c57 TAChart: allow series to include margins.
git-svn-id: trunk@18871 -
2009-03-02 15:21:26 +00:00
ask
0aa059ecff TAChart: display labels on bar series. Initial crude implementation.
git-svn-id: trunk@18859 -
2009-03-01 12:04:40 +00:00
martin
7e91120fe5 SynEdit fixed warnings
git-svn-id: trunk@18858 -
2009-03-01 11:58:10 +00:00
paul
cb071d68ba synedit: reduce amount of warnings
git-svn-id: trunk@18857 -
2009-03-01 11:17:25 +00:00
ask
b83050cf62 TAChart: change inherited methods visibility to match parent class.
git-svn-id: trunk@18855 -
2009-03-01 10:51:37 +00:00
ask
7385883003 TAChart: refactor bar series drawing
git-svn-id: trunk@18851 -
2009-03-01 09:04:48 +00:00
martin
130c399660 SynEdit: Fixes a crash, PrimarySelection would make a callback to a destroyed SynEdit
git-svn-id: trunk@18848 -
2009-02-28 20:26:30 +00:00
martin
a8f8934f62 SynEdit, Refactor: Separated the interface to Lines, from the TextBuffer implementation (forgot one file)
git-svn-id: trunk@18847 -
2009-02-28 18:17:13 +00:00
martin
b183a0ba51 SynEdit, Refactor: Separated the interface to Lines, from the TextBuffer implementation
git-svn-id: trunk@18846 -
2009-02-28 18:13:43 +00:00
martin
83fb21fe1b SynEdit fixed crash, if Fold-GutterPart was removed from GutterPartList (SynEdit on custom Form, modified via Object Inspector)
git-svn-id: trunk@18845 -
2009-02-28 15:30:58 +00:00
martin
0feb94742e SynEdit, update LineChangeMarkers (yellow/green) for user applications that use SynEdit.Lines.SaveToFile
git-svn-id: trunk@18842 -
2009-02-27 20:11:23 +00:00
martin
2129ac6726 Merged SynEdit-design and SynEdit package. (SynEdit, now needs IdeIntf for the property editor; changed compilation order appropriately); Undone all Changes that introduced the SynEdit-Design package.
git-svn-id: trunk@18829 -
2009-02-26 23:31:02 +00:00
paul
ccc97fcddb synedit: set default value for FrameColor
git-svn-id: trunk@18827 -
2009-02-26 22:56:44 +00:00
mattias
036ac66bf8 codetools: added / to expression operators
git-svn-id: trunk@18822 -
2009-02-25 14:14:06 +00:00
ask
c27d946f16 TAChart: refactor zooming
git-svn-id: trunk@18818 -
2009-02-24 11:43:48 +00:00
mattias
8eef3a2022 codetools: identifier completion: not adding semicolon in front of a binary symbol operator
git-svn-id: trunk@18800 -
2009-02-22 22:47:00 +00:00
martin
2f1b930d22 SynEdit, Folding: "type" does not always start a block: "foo = type string;"
git-svn-id: trunk@18799 -
2009-02-22 20:05:43 +00:00
martin
580a765d4e SynEdit: Fixed BlockSelection, if multi byte UTF8 chars are present (requires fix in rev 18797 #9cfd930f46) (relates to bug #11819 / Note 25343; but any line with multibyte chars at the very start was affected)
git-svn-id: trunk@18798 -
2009-02-22 19:46:57 +00:00
martin
81d0c46770 Add SynEdit-Design package to BigIDE
git-svn-id: trunk@18796 -
2009-02-22 18:42:03 +00:00
ask
a3580b1459 TAChart: Make marks optional. Allow custom marks formatting.
git-svn-id: trunk@18795 -
2009-02-22 16:06:23 +00:00
ask
4bd8cdc586 TAChart: implement all MarksStyle values for TPieSeries.
Add mark style selection to the demo application.

git-svn-id: trunk@18794 -
2009-02-22 15:10:53 +00:00
ask
61219c304d TAChart: Renamed ChartCoord -> TChartCoord
git-svn-id: trunk@18792 -
2009-02-22 14:41:55 +00:00
jesus
381c429d0a LazReport, renamed some images
git-svn-id: trunk@18789 -
2009-02-21 21:28:20 +00:00
jesus
246c0e3ae8 LazReport, do not autoscroll designer's form
git-svn-id: trunk@18785 -
2009-02-21 18:38:29 +00:00
mattias
22c61b805d IDE+codetools: identifier completion: show constructor/destructo from Paul, bug #13215
git-svn-id: trunk@18783 -
2009-02-20 21:23:15 +00:00
paul
f8e23f2d0d tachart: correct asterisks positions
git-svn-id: trunk@18780 -
2009-02-20 15:34:27 +00:00
paul
1a3d8bce05 tachart: fix bigide building
git-svn-id: trunk@18779 -
2009-02-20 15:32:00 +00:00
ask
facc55f1a3 TAChart: Add Alexander Klenin to authors
issue #13214 part 6

git-svn-id: trunk@18778 -
2009-02-20 14:30:06 +00:00
ask
604c32679f TAChart: Refactor TLine series. Add static TLine series to the demo
issue #13214 part 5

git-svn-id: trunk@18777 -
2009-02-20 14:28:08 +00:00
ask
f6a27a57d4 TAChart: clean up, fix and expand published properties, since they are now useful
issue #13214 part 4

git-svn-id: trunk@18776 -
2009-02-20 14:25:24 +00:00
ask
ee315fb844 TAChart series editor: adding, deleting and selection of series
issue #13214 part 3

git-svn-id: trunk@18775 -
2009-02-20 14:22:48 +00:00
ask
7ab4967ab9 TAChart: Prepare series code for design-time editing. Publish Series property.
issue #13214 part 2

git-svn-id: trunk@18774 -
2009-02-20 14:19:05 +00:00
ask
75edc78f04 TAChart series editor: initial design-time form. Does nothing useful yet.
issue #13214 part 1

git-svn-id: trunk@18773 -
2009-02-20 14:04:27 +00:00
vincents
1bbc803e83 sqlite component: fixed path delimeters in .lpk caused by issue #13212
patch by: Luiz Americo

git-svn-id: trunk@18766 -
2009-02-19 21:44:35 +00:00
vincents
3120bb14c2 sqlite component: patch from issue #13209
* Change the sqlite*dataset component editor to allow call the Fields Editor
* Remove workaround to old fpc/lazarus bugs 
patch by Luiz Americo 

git-svn-id: trunk@18764 -
2009-02-19 20:29:07 +00:00
mattias
44384111c2 fixed typo
git-svn-id: trunk@18762 -
2009-02-19 08:35:22 +00:00
jesus
c84b3499e1 LazReport, fix record context on which bands are printed after a group change is detected, issue #13165
git-svn-id: trunk@18751 -
2009-02-18 23:58:06 +00:00
vincents
69610334ef TAChart: Make Assign and EraseBackground methods public, as inherited ones
patch by: Alexander Klenin
part 4 of issue #13201

git-svn-id: trunk@18749 -
2009-02-18 12:22:32 +00:00
vincents
a945bd4085 TAChart: Remove {$MODE DELPHI} and {$IFDEF fpc}
patch by: Alexander Klenin
part 3 of issue #13201

git-svn-id: trunk@18748 -
2009-02-18 12:20:30 +00:00
vincents
6eda89f398 TAChart: Refactor coordinate transformations
patch by: Alexander Klenin
part 2 of issue #13201

git-svn-id: trunk@18747 -
2009-02-18 12:17:29 +00:00
vincents
161a59bc94 TAChart: Make TChart.Series an indexed property of proper type
patch by: Alexander Klenin
part 1 of issue #13201

git-svn-id: trunk@18746 -
2009-02-18 12:14:45 +00:00
vincents
4f120b8014 TAChart: Replace some hard-coded colors by user-changeable properties.
patch by: Alexander Klenin
part 2 of issue #13196

git-svn-id: trunk@18730 -
2009-02-17 13:12:59 +00:00
vincents
c42b11a253 TAChart: Rewrite PieSeries.Draw method. Greatly simplify code. Fix multiple issues with scaling.
patch by: Alexander Klenin
part 1 of issue #13196

git-svn-id: trunk@18729 -
2009-02-17 13:07:11 +00:00
mattias
271dd47acb codetools: parsing var a: char; public name test;
git-svn-id: trunk@18726 -
2009-02-17 09:49:12 +00:00
vincents
06cd260566 TAChart: fix SeriesColor to work uniformly for all kinds of series
patch by: Alexander Klenin
fixes issue #13184

git-svn-id: trunk@18709 -
2009-02-16 15:43:42 +00:00
vincents
583ce96cbe TAChart: published DoubleBuffered
git-svn-id: trunk@18699 -
2009-02-15 18:44:08 +00:00
sekelsenmat
3ef10c5da2 Implements SetWindowRgn for win32
git-svn-id: trunk@18696 -
2009-02-15 11:06:36 +00:00
martin
212692fab4 SynEdit: Fixed updating gutter (Show every nth line number would not follow caret movement), broken in revision 18650 #720657de54
git-svn-id: trunk@18685 -
2009-02-14 15:24:57 +00:00
jesus
bde55b119f LazReport, fix autosize text, issue #13152
git-svn-id: trunk@18680 -
2009-02-14 04:55:07 +00:00
martin
aee5b7661e SynEdit: Fixed debug compilation with $DEFINE VerboseKeys
git-svn-id: trunk@18679 -
2009-02-13 22:34:58 +00:00
martin
b6a7c8f87a SynEdit: Fixed debug compilation with $DEFINE VerboseKeys
git-svn-id: trunk@18678 -
2009-02-13 22:31:14 +00:00
martin
65c4d691ae SynEdit: Fixed LengthOfLongestLine (Vertical Scrollbar did no longer show); bug introduced in revision 18603 #01e79b4d74
git-svn-id: trunk@18677 -
2009-02-13 21:44:59 +00:00
martin
c5581746a0 SynEdit: Fix bug #11752. If using a non utf8 font (gtk1) certain sequences of chars would be rendered wrong
git-svn-id: trunk@18674 -
2009-02-13 21:11:20 +00:00
vincents
648cca752a TAChart: Extract StyleChanged into parent class
patch by: Alexander Klenin
part 4 of issue #13163

git-svn-id: trunk@18673 -
2009-02-13 20:56:05 +00:00
vincents
fc69670edb TAChart: Include reticules in demo application
patch by: Alexander Klenin
part 3 of issue #13163

git-svn-id: trunk@18672 -
2009-02-13 20:53:26 +00:00
vincents
0d8393edf7 TAChart: Refactor Reticules. Remove circular dependency TAGraph -> TASeries
patch by: Alexander Klenin
part 2 of issue #13163

git-svn-id: trunk@18671 -
2009-02-13 20:51:16 +00:00
vincents
eb20e8d8cd TAChart: Extract DrawIfActive and AfterAdd procedures. Minor style fixes.
patch by: Alexander Klenin
part 1 of issue #13163

git-svn-id: trunk@18670 -
2009-02-13 20:45:43 +00:00
martin
84bfb63537 SynEdit: Improve non utf8 char-set handling (may happen with gtk1). This was broken by DoubleWidthChar handling
git-svn-id: trunk@18669 -
2009-02-13 20:10:39 +00:00
sekelsenmat
18b9f259d5 Fixes TOpenGLContext in Carbon
git-svn-id: trunk@18661 -
2009-02-13 13:18:08 +00:00
martin
720657de54 SynEdit Refactor: Move more caret code to dedicated caret class
git-svn-id: trunk@18650 -
2009-02-13 00:43:19 +00:00
vincents
9335ffdf78 TAChart: fixed diminishing size of bar charts
patch by: Alexander Klenin
fixes issue (13130)

git-svn-id: trunk@18649 -
2009-02-12 14:51:34 +00:00
vincents
a9c58c425c TAChart: Legend refactoring
patch by: Alexander Klenin
fixes issue (13119)

git-svn-id: trunk@18644 -
2009-02-12 09:57:51 +00:00
vincents
01263f360b tachart: made TCustomChart a TCustomControl, so we can prevent erasing the background and have less flickering
patch by: Alexander Klenin
fixes issue (12377)

git-svn-id: trunk@18643 -
2009-02-12 09:52:26 +00:00
martin
a74b198b31 SynEdit: Fix Markup current word (did not detect caret moved by mouse, if block was selected) / Cleaned up
git-svn-id: trunk@18642 -
2009-02-11 22:21:00 +00:00
martin
a85e24aa34 SynEdit: DoubleWidth Char, fix cursor on input (did not move the full char)
git-svn-id: trunk@18641 -
2009-02-11 19:50:27 +00:00
martin
028484645f SynEdit: Fix Smart-UnIndent and tabs. Smart-Unindent with tabs at the start of line, would delete too much text)
git-svn-id: trunk@18635 -
2009-02-11 01:03:33 +00:00
martin
1d315d84be SynEdit: Fix Highlight Begin-End with tabs or multi byte chars on the line (was not using Physical Pos for Markup)
git-svn-id: trunk@18634 -
2009-02-11 00:54:04 +00:00
martin
e2de214146 SynEdit: Handle DoubleWidth-Chars (Chinese, Japanese, ...) Issue #11819, Issue #12464
git-svn-id: trunk@18633 -
2009-02-10 23:57:11 +00:00
martin
519ce015dc SynEdit: Refactor Char To Grid Expansion for text painting.
git-svn-id: trunk@18622 -
2009-02-09 22:49:50 +00:00
mattias
90f305ab51 codetools: fixed find base type of constructor
git-svn-id: trunk@18616 -
2009-02-09 14:02:11 +00:00
mattias
6094ab0e3c clean up
git-svn-id: trunk@18612 -
2009-02-09 09:06:56 +00:00
martin
96f22bc669 Synedit: Removed C-Style operators from from code
git-svn-id: trunk@18605 -
2009-02-08 20:41:34 +00:00
micha
2f092a7ede * synedit: fix compilation (usage of C operators)
git-svn-id: trunk@18604 -
2009-02-08 20:36:36 +00:00
martin
01e79b4d74 SynEdit, Refactor: Changed Phys/Logical Conversation (tabs, utf8)
git-svn-id: trunk@18603 -
2009-02-08 17:01:36 +00:00
martin
6a87b62df4 SynEdit: Clean up, dead code and duplicates
git-svn-id: trunk@18597 -
2009-02-07 21:07:30 +00:00
martin
d0ff603108 SynEdit: Small Refactor. Workaround for a crash when SynEdit is destroyed to early
git-svn-id: trunk@18572 -
2009-02-04 22:43:16 +00:00
martin
d156b92d1b SynEdit, PasHighlighter: The matching "End" for "Unit" was no longer found. Bug since revision 18443 #f4ca0b1d9f
git-svn-id: trunk@18571 -
2009-02-04 22:11:27 +00:00
mattias
542aea22d8 translations: german: updates from Joerg Braun
git-svn-id: trunk@18568 -
2009-02-04 18:40:58 +00:00
marc
d3ad27229d * Updated Lithuanian translation by Valdas Jankunas
git-svn-id: trunk@18547 -
2009-02-03 23:50:49 +00:00
mattias
feaa627c17 codetools: identifier completion collecting forward class definitions, bug #13101
git-svn-id: trunk@18542 -
2009-02-03 11:55:04 +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
0b4a2d7e77 SynEdit: Changes to font handling. Fixed bug #12011 / bug #7828 and further fix to bug #12482
git-svn-id: trunk@18538 -
2009-02-02 21:33:12 +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
aa8e136984 SynEdit: Fixed crash when adding "begin" to last line. (bug introduced in revision 18436 #42a27dba3d)
git-svn-id: trunk@18520 -
2009-01-31 18:47:27 +00:00
martin
4e1e17c667 Cleanup SynEdit: Removed unnecessary uses, redeclaration's,...
git-svn-id: trunk@18519 -
2009-01-31 16:33:20 +00:00
paul
e999f6d313 components: remove Ctrl3D, ParentCtl3D properties
git-svn-id: trunk@18515 -
2009-01-31 12:02:04 +00:00
jesus
01a60c3e54 LazReport, fix preview MouseWheel scrolling
git-svn-id: trunk@18509 -
2009-01-30 22:00:28 +00:00
martin
42266fa406 SynEdit: Fix several Highlighter did no longer work, due to change in revision 18411 #a9764b3457
git-svn-id: trunk@18508 -
2009-01-30 20:13:57 +00:00
martin
d690a62d46 SynEdit, fix issue, with line highlighting after Paste-Insert
git-svn-id: trunk@18498 -
2009-01-29 21:06:21 +00:00
mattias
9785561605 clean up
git-svn-id: trunk@18491 -
2009-01-29 09:06:02 +00:00
martin
55281f9382 SynEdit: fixed Word highlight did not update on changes to text
git-svn-id: trunk@18477 -
2009-01-28 21:49:09 +00:00
mattias
204d1aa9b5 LCL: not focusing THintWindow on show
git-svn-id: trunk@18474 -
2009-01-28 15:39:55 +00:00
jesus
340377d33a LazReport, add thumbnails report sample
git-svn-id: trunk@18465 -
2009-01-27 22:23:41 +00:00
martin
799d3a721f Synedit, reduced amount of ranges used by highlighter (fixed for last rev)
git-svn-id: trunk@18444 -
2009-01-25 16:00:54 +00:00
martin
f4ca0b1d9f Synedit, reduced amount of ranges used by highlighter
git-svn-id: trunk@18443 -
2009-01-25 15:54:47 +00:00
martin
71ecb2d421 SynEdit: Speed up by limit Search range for Word-Markup/Incremental-Search
git-svn-id: trunk@18439 -
2009-01-25 13:32:07 +00:00
martin
dc10db0cc2 SynEdit: Fix Word-Markup/Incremental-Search eating CPU by doing excessive amounts of searches
git-svn-id: trunk@18438 -
2009-01-25 12:59:13 +00:00
martin
f7d72691ba Remove accidental debugln from revision 18436 #42a27dba3d
git-svn-id: trunk@18437 -
2009-01-25 12:44:33 +00:00
martin
42a27dba3d SynEdit: Highlight Begin/End pairs
git-svn-id: trunk@18436 -
2009-01-25 12:36:29 +00:00
martin
ebb9b257f7 SynEdit Markup, disable word search, if highlight is clNone
git-svn-id: trunk@18435 -
2009-01-25 12:33:57 +00:00
mattias
76c9b75118 clean up
git-svn-id: trunk@18432 -
2009-01-25 10:17:33 +00:00
mattias
e49f747043 synedit: immplemented ChangeStamp, IDE: using synedit changestamp, reducing commits to codetools
git-svn-id: trunk@18431 -
2009-01-25 10:10:19 +00:00
martin
f659fe36b5 SynEdit: Reduce work done in Destroy (related to issue #13038)
git-svn-id: trunk@18417 -
2009-01-24 17:01:04 +00:00
martin
a9764b3457 SynEdit: Fix crash in highlighting code under QT (Bug #12951)
git-svn-id: trunk@18411 -
2009-01-24 15:12:04 +00:00
mattias
568c19f303 IDE: package main source: indent uses section
git-svn-id: trunk@18406 -
2009-01-24 11:29:44 +00:00
mattias
fd633ee9be codetools: skipping string constants in simple beautifier, bug #12681
git-svn-id: trunk@18405 -
2009-01-24 11:16:20 +00:00
mattias
40a9bce6a9 translations: german: updates form Joerg Braun
git-svn-id: trunk@18402 -
2009-01-24 09:53:51 +00:00
michael
3e5bc24fed * Patch from Attila Borka to enable multiple requests (enable threads), bug ID #12375
git-svn-id: trunk@18392 -
2009-01-22 21:58:25 +00:00
martin
d4af1c75ec SynEdit, Gutter: Renamed some of the new methods (Thanks Mark W. for the Feedback)
git-svn-id: trunk@18386 -
2009-01-21 22:47:33 +00:00
martin
64ffa702f8 SynEdit, Gutter: Renamed some of the new methods
git-svn-id: trunk@18383 -
2009-01-21 20:47:05 +00:00
paul
def590b362 synedit: fix hang when pressed HOME key on the first line (bug #0012983)
git-svn-id: trunk@18372 -
2009-01-21 09:14:42 +00:00
paul
af0d7249f4 synedit: a bit of formatting
git-svn-id: trunk@18371 -
2009-01-21 09:13:29 +00:00
martin
e2a0793b44 SynEdit Gutter: Cleanup, Refactor, Added some helper methods
git-svn-id: trunk@18366 -
2009-01-21 01:52:28 +00:00
martin
8f53ab61e2 SynEdit Design: Fixed the property editor did not close, if the SynEdit was deleted.
git-svn-id: trunk@18365 -
2009-01-20 23:49:15 +00:00
martin
3fe186c1da SynEdit Gutter: Fixing some AutoSize stuff
git-svn-id: trunk@18364 -
2009-01-20 22:54:53 +00:00
martin
87ca389d26 LazReport, adapted to changed gutter properties
git-svn-id: trunk@18363 -
2009-01-20 22:19:49 +00:00
martin
3b28b9026f SynEdit Gutter: Fixing some AutoSize stuff
git-svn-id: trunk@18362 -
2009-01-20 21:14:03 +00:00
mattias
de0f8578f0 set some TTreeView.ReadOnly to true
git-svn-id: trunk@18361 -
2009-01-20 20:20:52 +00:00
martin
0224b90a6d SynEdit, moved PropertyToSkip to correct place. bug #13005
git-svn-id: trunk@18351 -
2009-01-20 10:01:31 +00:00
martin
f4224ce9a5 SynEdit: Clean-up highlighter code
git-svn-id: trunk@18350 -
2009-01-20 00:28:54 +00:00
martin
d8953c73cb SynEdit Gutter: fix for loading from LFM; bug #13000
git-svn-id: trunk@18345 -
2009-01-19 21:24:03 +00:00
martin
09a43ac065 SynEdit PascalHighlighter: Improved recognition of folding in inc files (default is now off, if no implementation header is found); Fixed properties with multiply indexes
git-svn-id: trunk@18334 -
2009-01-18 23:10:54 +00:00
martin
8c0f2f5c04 SynEdit: Fixed possible crash when PropertyEditor was updated after items where deselected
git-svn-id: trunk@18333 -
2009-01-18 19:46:05 +00:00
martin
76ed95a0d7 SynEdit Gutter: Refactor, add ability to save GutterParts to LFM file (Designer)
git-svn-id: trunk@18331 -
2009-01-18 17:46:11 +00:00
martin
77c9b560ff SynEdit Gutter: Refactor, add ability to save GutterParts to LFM file
git-svn-id: trunk@18330 -
2009-01-18 17:43:57 +00:00
martin
d75f642632 SynGutter: Cleanup (Moved common properties to base)
git-svn-id: trunk@18326 -
2009-01-18 13:47:10 +00:00
martin
ef58282110 SynEdit: Fixed Gutter did not repaint LeftOffset Area; Fixed default values
git-svn-id: trunk@18325 -
2009-01-18 12:24:11 +00:00
martin
0fea837b64 SynEdit: Removed some internal values (Color-Setting) from published properties
git-svn-id: trunk@18324 -
2009-01-18 12:14:51 +00:00
mattias
5d21138707 codetools: fixed finding prior statement when start on source start
git-svn-id: trunk@18316 -
2009-01-16 20:39:59 +00:00
paul
047bd064e5 synedit: highlight compilerproc modifier
git-svn-id: trunk@18303 -
2009-01-16 02:21:04 +00:00
paul
471ec5ea59 jcf2: sync with r773 of main jcf2 tree (also fixes issue #0012977):
- some use of JcfStringUtils instead of JclStrings
 - IndentProcedureBody setting
 - StrPadLeft implementation in JcfStringUtils.pas
 - added StrIPos function to JcfStringUtils.pas and tests
 - renamed VersionConsts.pas to JcfVersionConsts.pas to avoid a name clash with a unit in another package
 - rearranging util functions

git-svn-id: trunk@18292 -
2009-01-15 02:08:47 +00:00
mattias
bed259ea54 codetools: lazarus src: added unit paths to packager/frames
git-svn-id: trunk@18278 -
2009-01-13 16:49:28 +00:00
jesus
20c99e44fb LazReport, implemented memoview property HideDuplicates
git-svn-id: trunk@18274 -
2009-01-13 16:22:38 +00:00
mattias
162095d09e codetools: fixed savebufferas to virtual file, bug #12966
git-svn-id: trunk@18269 -
2009-01-13 09:50:52 +00:00
martin
18268c8784 SynEdit: A few debugln instructions for a range exception (conditional compiled only)
git-svn-id: trunk@18265 -
2009-01-12 23:20:18 +00:00
martin
14675021da SynEdit, Trim Spaces: added option to set how long trailing spaces stay valid
git-svn-id: trunk@18264 -
2009-01-12 22:35:48 +00:00
paul
d46112e3d3 codetools: fix introduced by me bug when stream was opened for write but was not cleared
git-svn-id: trunk@18262 -
2009-01-12 03:09:03 +00:00
martin
e9c54a9a47 SynEdit: fixed viability-level issue with inherited methods(fpc trunc gives a warning)
git-svn-id: trunk@18254 -
2009-01-11 14:02:29 +00:00
martin
73cb0cbcbc SynEdit: uninitialized variable in beautifier (would affect indent on tabs)
git-svn-id: trunk@18253 -
2009-01-11 14:01:31 +00:00
paul
7467771ed0 lcl, codetools: don't request exclusive rights when IDE reads/writes units
git-svn-id: trunk@18251 -
2009-01-11 08:30:43 +00:00
martin
cc2e0fdf0e Folding: fix case inside a record definition would cause an open end block
git-svn-id: trunk@18248 -
2009-01-11 03:21:35 +00:00
martin
a10dc20b6a SynEdit, Markup-Current-Word Added: TrimSpaces, Keep Markup while typing, Toggle fixed word (alt m), No timer(just toggle)
git-svn-id: trunk@18247 -
2009-01-11 02:51:28 +00:00
paul
ce19796997 jcf: sync with r764:
- Fix to 2130798 - Indentation strange on procedure local type/var declarations
  - Notepad UI has save and save as for input files, and remembers the file name
  - Fix to SF bug ID: 2490118 Parser exception with empty var section in a class
  - Fixed an issue in handling utf-8 encoded files

git-svn-id: trunk@18246 -
2009-01-11 02:27:52 +00:00
martin
c3f6bb62e5 SynEdit: Improved backspace, with the new auto-indent "position only"
git-svn-id: trunk@18244 -
2009-01-10 21:43:16 +00:00
martin
28eaceccd2 SynEdit: Improved cursor-left, with the new auto-indent "position only"
git-svn-id: trunk@18242 -
2009-01-10 21:27:18 +00:00
martin
585bbf6ef1 SynEdit, Auto-Indent: Implement indent types
git-svn-id: trunk@18241 -
2009-01-10 21:11:37 +00:00
martin
0ba3d5877c SynEdit: Refactor, move all indent code into beautifier.
git-svn-id: trunk@18240 -
2009-01-10 18:28:58 +00:00
martin
c71c1bdf06 SynEdit: Change default for Gutter.AutoSize to True (Bug #12962)
git-svn-id: trunk@18235 -
2009-01-10 14:00:18 +00:00
martin
fc746d62ba SynEdit: TrimSpaces would mark the editor as modified. They also could add an "undo last caret move" (Bug #12949)
git-svn-id: trunk@18231 -
2009-01-10 02:21:08 +00:00
martin
eae600b56a SynEdit, adjust block begin, if line got trimmed, and not eoScrollPastEOL
git-svn-id: trunk@18221 -
2009-01-09 01:10:17 +00:00
martin
ef8462c9fc SynEdit: Fix Bug #12944 (Trimming Spaces would prevent selecting a block)
git-svn-id: trunk@18220 -
2009-01-09 00:34:16 +00:00
martin
55bb461186 SynEdit: Fix bug #11535 (block painted to far past EOL)
git-svn-id: trunk@18219 -
2009-01-09 00:21:13 +00:00
martin
a38e378eb6 SynEdit, Markup-word: Fixed slow reaction to deselected block
git-svn-id: trunk@18218 -
2009-01-08 23:37:46 +00:00
martin
31438d74a3 SynEdit: Undo/Redo with trailing spaces
git-svn-id: trunk@18216 -
2009-01-08 23:01:57 +00:00
martin
2f7de3e7d3 SynEdit: implemented "End jumps to nearest start" and end key toggles between visible and real line end / end-key now behaves like home-key (just on the end of line).
git-svn-id: trunk@18215 -
2009-01-08 19:45:08 +00:00
paul
062984cd61 synedit: eat special keys in the completion IntfUTF8KeyPress as it is happen in the ansi KeyPress handler (part of bug #0012222)
git-svn-id: trunk@18209 -
2009-01-08 12:51:38 +00:00
paul
d2cfcc3186 synedit, ide: fix sourcecompletion on windows after deactivate (part of bug #0012222)
git-svn-id: trunk@18208 -
2009-01-08 12:34:19 +00:00
martin
df21d7be95 SynEdit: Auto-Indent (if spaces after caret) could indent to much
git-svn-id: trunk@18202 -
2009-01-07 23:33:04 +00:00
vincents
d3d5342fe6 updated po file, new order generated by updatepofiles.
git-svn-id: trunk@18201 -
2009-01-07 22:44:52 +00:00
vincents
7c460a7da6 updated po file, new order generated by updatepofiles.
git-svn-id: trunk@18200 -
2009-01-07 22:28:50 +00:00
vincents
2ecfe15a5a synedit: use Node Offset of folding node = 1, so that the box does not get too small for small fonts without extra line spacing, hint from Martin Friebe
git-svn-id: trunk@18199 -
2009-01-07 22:03:03 +00:00
martin
3daee56246 SynEdit: More consistency. Accessing the text from outside will never trim spaces (on set) or see trailing spaces (on get). Up to now sometimes it would, sometimes not. Fixing SourceEditor (Begin/EndUpdate around Assign)
git-svn-id: trunk@18198 -
2009-01-07 21:44:43 +00:00
paul
83485fbc51 synedit: change drawing of [...] folded char a bit
git-svn-id: trunk@18197 -
2009-01-07 19:24:09 +00:00
martin
1c81212e2f Fix rev 18176 #bafca9d60e (SynEdit Folding: Fixed detection of procedure blocks) some reloading a file could take forever
git-svn-id: trunk@18179 -
2009-01-07 01:48:51 +00:00
martin
19ff151b3b SynEdit:, further enhanced the Color settings for the fold [...]
git-svn-id: trunk@18178 -
2009-01-06 20:53:01 +00:00
martin
0a91971c12 SynEdit Folding: Fixed detection of procedure blocks
git-svn-id: trunk@18177 -
2009-01-06 20:46:47 +00:00
martin
bafca9d60e SynEdit: Fixed folding for type/var/interface/implementation/... blocks. They could sometimes act as additional ends to other fold blocks.
git-svn-id: trunk@18176 -
2009-01-06 20:44:38 +00:00
martin
911e34a255 SynEdit, further enhanced the Color settings for the fold [...]
git-svn-id: trunk@18175 -
2009-01-06 20:28:21 +00:00
paul
533a95598d synedit: don't focus syncompletion scrollbar (bug #0012926)
git-svn-id: trunk@18171 -
2009-01-06 16:13:28 +00:00
mattias
3870f0df36 IDE: new codebuffers now use UTF-8 as encoding
git-svn-id: trunk@18166 -
2009-01-06 12:41:16 +00:00
mattias
1f1aa8a31a synedit: added note
git-svn-id: trunk@18163 -
2009-01-06 11:05:35 +00:00
mattias
13b54cba9a synedit: undo 18141: completion can work when not visible
git-svn-id: trunk@18160 -
2009-01-06 10:36:52 +00:00
mattias
4af2a1dd2e fixed public method overrides
git-svn-id: trunk@18156 -
2009-01-06 09:54:29 +00:00
paul
0faae3351b synedit: add markup info for folded code
git-svn-id: trunk@18153 -
2009-01-06 07:18:50 +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
5117148943 SynEdit: Improved highlight current word
git-svn-id: trunk@18144 -
2009-01-05 21:33:49 +00:00
paul
580a831bf3 synedit: don't try to complete the code when completion form is not visible ('Dummy' part of bug #0012222)
git-svn-id: trunk@18141 -
2009-01-05 19:23:39 +00:00
mattias
ae4d09be24 codetools: identifier completion: improved variable start check
git-svn-id: trunk@18135 -
2009-01-05 12:05:59 +00:00
mattias
2670be8de0 IDE: fixed crash painting a half defined method
git-svn-id: trunk@18134 -
2009-01-05 11:46:31 +00:00
mattias
3a49b31485 codetools: class completion support for array read/write access modifiers
git-svn-id: trunk@18129 -
2009-01-05 10:27:02 +00:00
martin
1126e1e728 inserted License text
git-svn-id: trunk@18123 -
2009-01-05 00:32:43 +00:00
martin
c920e5366f SynEdit: Fixes for undo with trim-spaces
git-svn-id: trunk@18122 -
2009-01-05 00:27:50 +00:00
martin
1da8f90a7f SynEdit fix folding broken in rev 18119 #435391d80e
git-svn-id: trunk@18121 -
2009-01-04 23:49:52 +00:00
martin
1c383a8c77 SynEdit fix folding broken in rev 18119 #435391d80e
git-svn-id: trunk@18120 -
2009-01-04 23:12:54 +00:00
martin
435391d80e SynEdit: Refactor/Cleanup
git-svn-id: trunk@18119 -
2009-01-04 22:47:37 +00:00
martin
4be804cc45 Fixed Crash in option dialog (caused by synedit)
git-svn-id: trunk@18117 -
2009-01-04 20:10:09 +00:00
mattias
8d632ac72b codetools: fixed ComparePrefixIdent
git-svn-id: trunk@18114 -
2009-01-04 19:37:34 +00:00
paul
e51930e4d4 codetools: fix few debugln
git-svn-id: trunk@18112 -
2009-01-04 19:20:14 +00:00
martin
4849ad30c1 SynEdit: Refactor Line-Viewers, Add LineViewer for tab-expansion
git-svn-id: trunk@18110 -
2009-01-04 18:47:46 +00:00
paul
b24b71e52a synedit: improve synedit copy to clipboard error handling (more informative), simplify code (by Alexander S. Klenin, mantis #0011548)
git-svn-id: trunk@18106 -
2009-01-04 17:28:07 +00:00
paul
35fdea5b96 synedit: fix scroll calculations of the completion box, hide scroll if there is no need in it (bug #0012910)
git-svn-id: trunk@18104 -
2009-01-04 16:46:31 +00:00
mattias
89df8b61f5 IDE: added directory packager/frames to defines
git-svn-id: trunk@18090 -
2009-01-03 22:02:07 +00:00
martin
0e0fb14c52 SynEdit, fixed bug #11178: "Always visible Caret" did not immediately follow if option was turned on
git-svn-id: trunk@18083 -
2009-01-03 19:33:22 +00:00
martin
f8c333abf4 SynEdit: Improved Undo (specially with trim spaces) (bug #12712)
git-svn-id: trunk@18082 -
2009-01-03 19:04:34 +00:00
martin
873d02994c SynEdit: Slight improvement to Markup order (word highlight over special line)
git-svn-id: trunk@18078 -
2009-01-03 16:13:55 +00:00
martin
18520f8a49 SynEdit, highlight current word: More options
git-svn-id: trunk@18077 -
2009-01-03 15:04:47 +00:00