mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 22:58:50 +02:00
IDE: fixed top-line-proc-name hint. The wrong line was shown if lines above were folded.
git-svn-id: trunk@63403 -
This commit is contained in:
parent
591acf514b
commit
5bb7d9bdd1
@ -59,7 +59,7 @@ uses
|
||||
SynEditHighlighter, SynEditHighlighterFoldBase, SynHighlighterPas,
|
||||
SynEditMarkupHighAll, SynEditKeyCmds, SynEditMarkupIfDef, SynEditMiscProcs,
|
||||
SynPluginMultiCaret, SynEditPointClasses,
|
||||
SynEditMarkupFoldColoring,
|
||||
SynEditMarkupFoldColoring, SynEditTextTabExpander,
|
||||
etSrcEditMarks, LazarusIDEStrConsts;
|
||||
|
||||
type
|
||||
@ -1778,7 +1778,7 @@ begin
|
||||
GetCaretObj.AddChangeHandler(@SrcSynCaretChanged);
|
||||
|
||||
FTopInfoDisplay := TSourceLazSynTopInfoView.Create;
|
||||
FTopInfoDisplay.NextView := ViewedTextBuffer.DisplayView;
|
||||
FTopInfoDisplay.NextView := TextViewsManager.SynTextViewByClass[TSynEditStringTabExpander].DisplayView;
|
||||
TSourceLazSynSurfaceManager(FPaintArea).TopLineCount := 0;
|
||||
// TSourceLazSynSurfaceManager(FPaintArea).ExtraManager.TextArea.BackgroundColor := clSilver;
|
||||
TSourceLazSynSurfaceManager(FPaintArea).ExtraManager.DisplayView := FTopInfoDisplay;
|
||||
|
Loading…
Reference in New Issue
Block a user