From e1c029f87b75367da004410c347ecd75f90b5d5d Mon Sep 17 00:00:00 2001 From: mattias Date: Thu, 24 Jan 2008 19:39:49 +0000 Subject: [PATCH] IDE: codehlpe reduced debugging output git-svn-id: trunk@13866 - --- docs/xml/lcl/menus.xml | 37 +++++++++++++++++++++++++++++++++++++ ide/fpdoceditwindow.pas | 2 +- 2 files changed, 38 insertions(+), 1 deletion(-) diff --git a/docs/xml/lcl/menus.xml b/docs/xml/lcl/menus.xml index 4e559c84ab..e1588565cf 100644 --- a/docs/xml/lcl/menus.xml +++ b/docs/xml/lcl/menus.xml @@ -94,11 +94,15 @@ EMenuError + - Exception handler for error in Menu access A menu item + An item of a TMainMenu or TPopupMenu. + + no errors @@ -124,12 +128,14 @@ TMenuActionLink + : defines the link between a selected menu item and its corresponding action

TMenuActionLink + : defines the link between a selected menu item and its corresponding action. Properties are protected and not readily accessible by application programmers.

@@ -393,12 +399,14 @@ TMenuItem + - The base structure of each item in a Menu.

TMenuItem + - The base structure of each item in a Menu.

This Component does the hard work of processing the Items found in the various types of menus. It defines a lot of the properties and methods used in the various sorts of menu, including TMainMenu, TMenu and TPopUpMenu

@@ -1465,6 +1473,7 @@ Action + - the default action associated with this Menu Item @@ -1473,6 +1482,7 @@ AutoCheck + : Whether a check mark is automatically added when the item is selected @@ -1481,6 +1491,7 @@ Caption + : The text that appears on the Menu Bar at run-time @@ -1489,6 +1500,7 @@ Checked + : whether a check mark appears on the Menu Bar @@ -1497,6 +1509,7 @@ Default + : is this option the default selection? If so, it usually appears in Bold and is selected by hitting ENTER @@ -1505,6 +1518,7 @@ Enabled + : can this option be selected? If Not Enabled, usually 'greyed-out' @@ -1513,6 +1527,7 @@ BitMap + : an optional picture beside the MenuItem Caption @@ -1521,6 +1536,7 @@ GroupIndex + : the sequence number in a group of mutually exclusive RadioItem choices @@ -1529,6 +1545,7 @@ HelpContext + - an index to the context-sensitive help string to be used @@ -1537,6 +1554,7 @@ Hint + : a pop-up help message that appears when the mouse hovers over an item. @@ -1545,6 +1563,7 @@ ImageIndex + - number in a list of images for use in illustrating menu items @@ -1553,6 +1572,7 @@ RadioItem + : whether the item is part of a group of mutually exclusive choices. @@ -1561,6 +1581,7 @@ RightJustify + : the position of the Caption in the Menu Panel. Default (False) is Left Justify @@ -1569,12 +1590,14 @@ ShortCut + - the quick key sequence to be used in selecting this menu item

ShortCut + - the quick key sequence to be used in selecting this menu item

If you select this property in the Object Inspector, a list-box will appear with choices for various key-combinations to be used. The chosen key-sequence will be displayed, at run-time, on the menu drop-down next to the caption for the menu item.

@@ -1591,6 +1614,7 @@ SubMenuImages + - will images be shown for sub-menu items as well as the main item? @@ -1599,6 +1623,7 @@ Visible + - can the item be seen? @@ -1607,6 +1632,7 @@ OnClick + - event handler for selection of this menu item @@ -1633,12 +1659,14 @@ TMenu + : The base class for all menus

TMenu + : The base class for all menus

The class definition contains very few public or published properties or methods accessible to the application programmer, but contains the entry Items which points to the Menu Items that appear in the menu displays

@@ -1904,6 +1932,7 @@ Items + - a list of Menu Items to be included in the menu display @@ -1912,6 +1941,7 @@ Images + - a list of images from which entries can be selected to illustrate menu choices @@ -1920,12 +1950,14 @@ TMainMenu + - the Main Menu that appears at the top of most windows

TMainMenu + - the Main Menu that appears at the top of most windows; form designers can customise by choosing various menu items.

Main Menu is a non-visible component : that is, if the icon is selected from the Component Pallete and placed on the Form, it will not appear at Run-time. Instead, a Menu bar with a structure defined by the Menu Editor will appear.

@@ -1974,12 +2006,14 @@ customise by choosing various menu items.

TPopupMenu + - a menu panel that pops up on the desktop when the right mouse button is clicked

TPopupMenu + : a menu panel that pops up on the desktop when the right mouse button is clicked.

Inherits all the properties of TMenu (including the properties of TMenuItem), but has some new properties (procedure PopUp and procedure Close) that define its behaviour when actually invoked.

PopupPoint defines the position of the Popup menu, usually at the current cursor position.

@@ -2179,17 +2213,20 @@ customise by choosing various menu items.

HowToUseMenus + - hints for creating Menus for your Forms

HowToUseMenus + - hints for creating Menus for your Forms

TMainMenu + is the Main Menu that appears at the top of most forms; form designers can customise by choosing various menu items. TPopupMenu is a menu window that pops up with pertinent, usually context-sensitive, details and choices when the right mouse button is clicked near a control

Main Menu is a non-visible component : that is, if the icon is selected from the Component Palette and placed on the Form, it will not appear at Run-time. Instead, a Menu bar with a structure defined by the Menu Editor will appear. Popup menus, placed on the form by selecting the icon from the Component Palette, do not appear at all unless the right mouse button is clicked on a control that owns such a menu.

diff --git a/ide/fpdoceditwindow.pas b/ide/fpdoceditwindow.pas index 2541d5ee95..428668940f 100644 --- a/ide/fpdoceditwindow.pas +++ b/ide/fpdoceditwindow.pas @@ -576,7 +576,7 @@ begin end; chprFailed: begin - DebugLn(['TFPDocEditForm.UpdateChain failed LazDocBoss.GetElementChain for ',fSourceFilename,' ',dbgs(CaretXY)]); + //DebugLn(['TFPDocEditForm.UpdateChain failed LazDocBoss.GetElementChain for ',fSourceFilename,' ',dbgs(CaretXY)]); exit; end; else