Forum > CustomDrawn

[SOLVED] Some comment fixes

(1/1)

lagprogramming:
The following patch fixes some comments regarding Lazarus IDE tabs

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---diff --git a/lcl/interfaces/customdrawn/customdrawnprivate.pas b/lcl/interfaces/customdrawn/customdrawnprivate.pasindex 755d7aa8f5..9b9697bcbe 100644--- a/lcl/interfaces/customdrawn/customdrawnprivate.pas+++ b/lcl/interfaces/customdrawn/customdrawnprivate.pas@@ -77,7 +77,7 @@ type     LCLControl: TCustomTabControl;   end; -  // Misc+  // Misc Tab    TCDIntfSpinEdit = class(TCDSpinEdit)   public@@ -327,7 +327,7 @@ begin     // Common Controls Tab     (AControl is TCDIntfProgressBar) or (AControl is TCDIntfTrackBar) or     (AControl is TCDIntfPageControl) or-    // Common Controls Tab+    // Misc Tab     (AControl is TCDIntfSpinEdit)     ; end;

AlexTP:
Too micro change to post it to bugtracker.

Thaddy:
Maybe an attempt to try a patch? It borders to silly. It is indeed too micro to warrant it and the original is basically correct.

lagprogramming:
The patch is fine because it fixes the comments, also making them look alike. The comments refer to the Lazarus IDE tabs. The spinedit is in the Misc tab, not in the Common Controls tab.

wp:
Applied it to Main and Fixes.

Navigation

[0] Message Index

Go to full version