Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colour highlighting in the source editor is shifted #211

Open
gskoczylas opened this issue Oct 16, 2024 · 1 comment
Open

Colour highlighting in the source editor is shifted #211

gskoczylas opened this issue Oct 16, 2024 · 1 comment

Comments

@gskoczylas
Copy link

gskoczylas commented Oct 16, 2024

When Delphi is turned on, the colour highlighting in the source editor is shifted. Just scroll through the code (e.g. PageUp, PageDown) and everything is displayed correctly.
cnPack

I'm using Delphi 11.3 Alexandria.

Bug Details:
Can Recur with a Probability of 90%.
The Bug can be Reproduced on Different Machines.

Steps:
I think it may be relevant that I have enabled option "Reopen last opened project when stating RAD Studio".

When Delphi starts, it displays the file that was last edited. Then the colour highlighting is almost always offset.

Settings:
OS: Windows 10 10.0 (Build 22631)
CnWizards: CnWizards_D110A.DLL Ver: 1.5.0.1209 Build 2024.09.17
CnWizards Language Index: 2
IDE: 28.0.47991.2819
ComCtl32: 5.82.22621.3527

Wizards Installed:
$(BDS)\Bin\Scooter.BeyondCompare.Expert.dll = Beyond Compare IDE Package
C:\Program Files (x86)\CnPack\CnWizards\CnWizLoader.dll = CnWizards_Loader
C:\Users\Programista\AppData\Roaming\DDevExtensions\DDevExtensionsD110.dll = DDevExtensions
C:\Program Files (x86)\GExperts for RAD Studio 11\GExpertsRS110.dll = GExperts
L:\TestInsight\TestInsight\TestInsight280.dll = TestInsight

Packages Installed:
Embarcadero Metropolis UI Live Tile Standard Components = $(BDSBIN)\dclMetropolisUILiveTile280.bpl
Embarcadero XML Components = $(BDSBIN)\dclxml280.bpl
Embarcadero Git Integration = $(BDSBIN)\gitide280.bpl
Embarcadero Mercurial Integration = $(BDSBIN)\hgide280.bpl
Embarcadero Subversion Integration = $(BDSBIN)\svnide280.bpl
User interface code for subversion integration = $(BDSBIN)\svnui280.bpl
Subversion integration = $(BDSBIN)\svn280.bpl
Embarcadero LiveBindings Components = $(BDSBIN)\dclbindcomp280.bpl
Embarcadero Experts UI Components = $(BDSBIN)\ExpertsUI280.bpl
Embarcadero Common Design Resources = $(BDSBIN)\dclcommon280.bpl
Embarcadero LiveBindings Components FireMonkey = $(BDSBIN)\dclbindcompfmx280.bpl
Embarcadero - RTL Component Editors = $(BDSBIN)\dclrtl280.bpl
Embarcadero - Tethering Component Editors = $(BDSBIN)\dcltethering280.bpl
Embarcadero ActionBar Components = $(BDSBIN)\dclact280.bpl
Embarcadero Database Components = $(BDSBIN)\dcldb280.bpl
Embarcadero Standard Components = $(BDSBIN)\dclstd280.bpl
Embarcadero Editor Emacs Enhancements = $(BDSBIN)\dclemacsedit280.bpl
Embarcadero Markup Language Wizards = $(BDSBIN)\dclmlwiz280.bpl
Embarcadero QuickEdit Designer 2.0 = $(BDSBIN)\dclQuickEdit280.bpl
Embarcadero ShareContract Components = $(BDSBIN)\dclshare280.bpl
Embarcadero WinX Controls = $(BDSBIN)\dclwinx280.bpl
Embarcadero Sample Debugger Visualizers = $(BDSBIN)\samplevisualizers280.bpl
Embarcadero Control Panel Applet Package = $(BDSBIN)\applet280.bpl
Embarcadero Usertility Analytics Component = $(BDSBIN)\dclappanalytics280.bpl
Embarcadero LiveBindings Components VCL = $(BDSBIN)\dclbindcompvcl280.bpl
Embarcadero MyBase DataAccess Components = $(BDSBIN)\dclmid280.bpl
Embarcadero Internet Server Wizards = $(BDSBIN)\dclnetwiz280.bpl
Embarcadero Internet Components = $(BDSBIN)\dclnet280.bpl
Embarcadero Experts Creators Components = $(BDSBIN)\ExpertsCreators280.bpl
Embarcadero VCL Database Components = $(BDSBIN)\dclvcldb280.bpl
Delphi 1.0 Compatibility Components = $(BDSBIN)\dcl31w280.bpl
Embarcadero Sample Components = $(BDSBIN)\dclsmp280.bpl
Embarcadero Editor Script Enhancements = $(BDSBIN)\dclsmpedit280.bpl
Embarcadero Touch Components = $(BDSBIN)\dcltouch280.bpl
Embarcadero InterBase Express Components = $(BDSBIN)\dclib280.bpl
Embarcadero InterBase Express Monitoring = $(BDSBIN)\ibmonitor280.bpl
TeeChart Lite FMX Components = $(BDSBIN)\dclFMXtee9280.bpl
TeeChart Standard VCL Components = $(BDSBIN)\dcltee9280.bpl
Embarcadero Mobile Wizard Help = $(BDSBIN)\MobileWizardExpert280.bpl
Data Explorer Reusable Services = $(BDSBIN)\DataExplorerService280.bpl
Embarcadero Driver Components = $(BDSBIN)\dclDBXDrivers280.bpl
Embarcadero Intro Driver Components = $(BDSBIN)\dclDBXDriversInt280.bpl
IP Abstraction Indy Implementation Design Time = $(BDSBIN)\dclIPIndyImpl280.bpl
Embarcadero REST-Backend Components = $(BDSBIN)\dclRESTBackendComponents280.bpl
Embarcadero REST-Library Components (Designtime) = $(BDSBIN)\dclRESTComponents280.bpl
Embarcadero dbExpress Components = $(BDSBIN)\dcldbx280.bpl
Embarcadero SimpleDataset Component (DBX) = $(BDSBIN)\dcldbxcds280.bpl
Embarcadero Cloud management components = $(BDSBIN)\dclCloudService280.bpl
FireDAC Data Explorer Integration = $(BDSBIN)\DataExplorerFireDACPlugin280.bpl
Embarcadero FireDAC Components = $(BDSBIN)\dclFireDAC280.bpl
LiveBinding Expression Components FireDac = $(BDSBIN)\dclBindCompFireDAC280.bpl
Embarcadero FMX FireDAC Components = $(BDSBIN)\dclFMXFireDAC280.bpl
Embarcadero VCL FireDAC Components = $(BDSBIN)\dclVclFireDAC280.bpl
Embarcadero FMX Standard Components = $(BDSBIN)\dclfmxstd280.bpl
Embarcadero Style Designer Package = $(BDSBIN)\fmxstyledesigner280.bpl
Indy 10 Core Design Time = $(BDSBIN)\dclIndyCore280.bpl
Indy 10 Protocols Design Time = $(BDSBIN)\dclIndyProtocols280.bpl
Edge WebView2 Components = $(BDSBIN)\dcledge280.bpl
Internet Explorer Components = $(BDSBIN)\dclie280.bpl
DBExpress Data Explorer Integration = $(BDSBIN)\DataExplorerDBXPlugin280.bpl
DBExpress InterBase Data Explorer Integration = $(BDSBIN)\DataExplorerDBXPluginInt280.bpl
LiveBindings Expression Components DbExpress = $(BDSBIN)\dclbindcompdbx280.bpl
Embarcadero XML Transform Provider Components = $(BDSBIN)\dcldsnapxml280.bpl
Embarcadero DataSnap Connection Components = $(BDSBIN)\dclmcn280.bpl
Embarcadero SOAP Midas Components = $(BDSBIN)\dclsoapmidas280.bpl
Embarcadero SOAP Components = $(BDSBIN)\dclsoap280.bpl
Embarcadero SOAP Server Components = $(BDSBIN)\dclsoapserver280.bpl
Embarcadero Internet DB Components = $(BDSBIN)\dclnetdb280.bpl
Embarcadero ADO DB Components = $(BDSBIN)\dclado280.bpl
JCL Package containing common units for JCL Experts = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JclBaseExpert280.bpl
JCL Debug IDE extension = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JclDebugExpert280.bpl
JCL Project Analyzer = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JclProjectAnalysisExpert280.bpl
JCL Open and Save IDE dialogs with favorite folders = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JclFavoriteFoldersExpert280.bpl
JCL Package containing repository wizards = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JclRepositoryExpert280.bpl
JCL Debug Window of XMM registers = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JclSIMDViewExpert280.bpl
JCL Stack Trace Viewer = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JclStackTraceViewerExpert280.bpl
JVCL Application and Form Components = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvAppFrmDesign280.bpl
JVCL Core Components = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvCoreDesign280.bpl
JVCL Band Objects = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvBandsDesign280.bpl
JVCL Non-Visual Components = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvCmpDesign280.bpl
JVCL Visual Controls = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvControlsDesign280.bpl
JVCL Encryption and Compression = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvCryptDesign280.bpl
JVCL Custom Controls = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvCustomDesign280.bpl
JVCL Database Components = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvDBDesign280.bpl
JVCL Dialog Components = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvDlgsDesign280.bpl
JVCL Docking Components = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvDockingDesign280.bpl
JVCL DotNet Controls = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvDotNetCtrlsDesign280.bpl
JVCL Globus Components = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvGlobusDesign280.bpl
JVCL HMI Controls = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvHMIDesign280.bpl
JVCL Jans Components = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvJansDesign280.bpl
JVCL Managed Threads = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvManagedThreadsDesign280.bpl
JVCL Multimedia and Image Components = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvMMDesign280.bpl
JVCL Network Components = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvNetDesign280.bpl
JVCL Page Style Components = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvPageCompsDesign280.bpl
JVCL Interpreter Components = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvPascalInterpreterDesign280.bpl
JVCL Plugin Components = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvPluginSystemDesign280.bpl
JVCL Print Preview Components = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvPrintPreviewDesign280.bpl
JVCL Runtime Design Components = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvRuntimeDesignDesign280.bpl
JVCL Standard Controls = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvStdCtrlsDesign280.bpl
JVCL System Components = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvSystemDesign280.bpl
JVCL Time Framework = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvTimeFrameworkDesign280.bpl
JVCL Wizard = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvWizardsDesign280.bpl
JVCL XP Controls = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\JvXPCtrlsDesign280.bpl
VirtualTreeView Controls = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\VirtualTreesD280.bpl
GSkPasLib � Design-Time = C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\GSkPasLib_DT_XE11.bpl
madBasic 1.2.7 - www.madshi.net = C:\Program Files (x86)\madCollection\madBasic\BDS22\win32\madBasic
.bpl
madHelp 1.1.1 - www.madshi.net = C:\Program Files (x86)\madCollection\madBasic\BDS22\win32\madHelp
.bpl
madDisAsm 2.2.6 - www.madshi.net = C:\Program Files (x86)\madCollection\madDisAsm\BDS22\win32\madDisAsm_.bpl
madExcept 5.1.2 - www.madshi.net = C:\Program Files (x86)\madCollection\madExcept\BDS22\win32\madExcept_.bpl
madExceptVcl 2.1.0 - www.madshi.net = C:\Program Files (x86)\madCollection\madExcept\BDS22\win32\madExceptVcl_.bpl
madExceptWizard 3.1.8 - www.madshi.net = C:\Program Files (x86)\madCollection\madExcept\BDS22\win32\madExceptWizard_.bpl
DUnitX - IDE Expert = C:\Users\Public\Documents\Embarcadero\Studio\22.0\dcp\Win32\Release\DUnitX_IDE_Expert_D11Alexandria.bpl
Microsoft Office 2000 Sample Automation Server Wrapper Components = $(BDSBIN)\dcloffice2k280.bpl
Microsoft Office XP Sample Automation Server Wrapper Components = $(BDSBIN)\dclofficexp280.bpl

IDE Packages Installed:
Embarcadero GetIt Package = $(BDS)\Bin\GetIt280.bpl
__Embarcadero Guided Tour Package = $(BDS)\Bin\GuidedTour280.bpl
Embarcadero IDE VCL Package = $(BDS)\Bin\IDEvcl280.bpl
Embarcadero Theme Package = $(BDS)\Bin\ModernTheme280.bpl
Embarcadero Theme Package = $(BDS)\Bin\darktheme280.bpl
Embarcadero Theme Package = $(BDS)\Bin\themeloader280.bpl
CodeQuery API Package = $(BDS)\bin\codequeryide280.bpl
Embarcadero Multi-Device Preview package = $(BDS)\Bin\MultidevicePreview280.bpl
Assembly Browser Package = $(BDS)\Bin\asmview280.bpl
(Untitled) = $(BDS)\Bin\dbkdebugide280.bpl
Delphi Win32 Platform = $(BDS)\Bin\delphiwin32280.bpl
.NET Core IDE Package = $(BDS)\Bin\dotnetcoreide280.bpl
(Untitled) = $(BDS)\bin\exceptiondiag280.bpl
__(Untitled) = $(BDS)\bin\fileexplorer280.bpl
(Untitled) = $(BDS)\bin\historyide280.bpl
HtmlHelp Viewer = $(BDS)\Bin\htmlhelp1280.bpl
__HtmlHelp Viewer = $(BDS)\Bin\htmlhelp2280.bpl
IDE File filters = $(BDS)\bin\idefilefilters280.bpl
Pluggable Tree View Package = $(BDS)\bin\plugview280.bpl
Value Data: Project and template library package = $(BDS)\Bin\projpageide280.bpl
Welcome Page Create New Plugin = $(BDS)\Bin\WelcomePage.Plugin.CreateNew280.bpl
Welcome Page GetIt Feed Plugin = $(BDS)\Bin\WelcomePage.Plugin.GetItFeed280.bpl
Welcome Page Learn Plugin = $(BDS)\Bin\WelcomePage.Plugin.Learn280.bpl
Welcome Page Open Recent Plugin = $(BDS)\Bin\WelcomePage.Plugin.OpenRecent280.bpl
Welcome Page IDE Package = $(BDS)\Bin\WelcomePageIDE280.bpl
TypeLibrary Browser Package = $(BDS)\Bin\tlbview280.bpl
LSP feature = $(BDS)\Bin\IDELSP280.bpl
HtmlHelp Viewer = $(BDS)\Bin\comcore280.bpl
(Untitled) = $(BDS)\Bin\projecttargets280.bpl
.NET Core IDE Package = $(BDS)\Bin\vclmenudesigner280.bpl
Component Toolbar Package = $(BDS)\bin\comptoolbar280.bpl
Embarcadero Tracking System Package = $(BDS)\Bin\TrackingSystem280.bpl
(Untitled) = $(BDS)\Bin\gdbdebugcore280.bpl
(Untitled) = $(BDS)\Bin\gdbdebugide280.bpl
(Untitled) = $(BDS)\Bin\ios32debugide280.bpl
(Untitled) = $(BDS)\Bin\ios64debugide280.bpl
Embarcadero FireUI Live Preview Package = $(BDS)\Bin\LivePreview280.bpl
Embarcadero Mirror Package = $(BDS)\Bin\MirrorHub280.bpl
(Untitled) = $(BDS)\Bin\codetemplates280.bpl
Core IDE Pro Package = $(BDS)\bin\coreproide280.bpl
(Untitled) = $(BDS)\bin\dbkdebugproide280.bpl
(Untitled) = $(BDS)\Bin\profiledeployide280.bpl
(Untitled) = $(BDS)\Bin\profilemgride280.bpl
Embarcadero SDK Manager = $(BDS)\Bin\sdkmgride280.bpl
Core Refactoring Package = $(BDS)\bin\refactoride280.bpl
ToDo = $(BDS)\bin\todoide280.bpl
(Untitled) = $(BDS)\Bin\DataExplorerIDE280.bpl
Visualization IDE Service Package = $(BDS)\Bin\VisualizationServiceIDE280.bpl
Embarcadero Mobile Device Manager Package = $(BDS)\Bin\DeviceManager280.bpl
(Untitled) = $(BDS)\bin\htmide280.bpl
(Untitled) = $(BDS)\bin\mlcc280.bpl
(Untitled) = $(BDS)\Bin\iteidew32280.bpl
(Untitled) = $(BDS)\Bin\tgide280.bpl
(Untitled) = $(BDS)\Bin\win64debugide280.bpl
Delphi Win64 Platform = $(BDS)\Bin\delphiwin64280.bpl
_(untitled) = $(BDS)\bin\getitide280.bpl

CnPack IDE Wizards Enabled State:
1 = CnComponentSelector
1 = CnScriptWizard
1 = CnAlignSizeWizard
1 = CnEditorToolsetWizard
1 = CnMessageBoxWizard
1 = CnTabOrderWizard
1 = CnBookmarkWizard
1 = CnSrcTemplate
1 = CnMsdnWizard
1 = CnPas2HtmlWizard
1 = CnReplaceWizard
1 = CnSourceDiffWizard
1 = CnStatWizard
1 = CnPrefixWizard
1 = CnProcListWizard
1 = CnCorPropWizard
1 = CnProjectExtWizard
1 = CnCommentCropperWizard
1 = CnRepositoryMenuWizard
1 = CnExplorerWizard
1 = CnFilesSnapshotWizard
1 = CnUsesToolsWizard
1 = CnIdeEnhanceMenuWizard
1 = CnIdeBRWizard
0 = CnCodeFormatterWizard
1 = CnFormEnhanceWizard
1 = CnSourceHighlight
1 = CnSrcEditorEnhance
1 = CnPaletteEnhanceWizard
1 = CnInputHelper
1 = CnVerEnhanceWizard
1 = CnIniFilerWizard
1 = CnMemProfWizard
1 = CnCodingToolsetWizard
1 = CnDebugEnhanceWizard
1 = CnAICoderWizard

CnPack IDE Wizards Created State:
1 = TCnComponentSelector
1 = TCnFormEnhanceWizard
1 = TCnScriptWizard
1 = TCnAlignSizeWizard
1 = TCnEditorToolsetWizard
1 = TCnMessageBoxWizard
1 = TCnTabOrderWizard
1 = TCnBookmarkWizard
1 = TCnSrcTemplate
1 = TCnSourceHighlight
1 = TCnMsdnWizard
1 = TCnPas2HtmlWizard
1 = TCnReplaceWizard
1 = TCnSourceDiffWizard
1 = TCnStatWizard
1 = TCnPrefixWizard
1 = TCnProcListWizard
1 = TCnSrcEditorEnhance
1 = TCnPaletteEnhanceWizard
1 = TCnCorPropWizard
1 = TCnProjectExtWizard
1 = TCnCommentCropperWizard
1 = TCnRepositoryMenuWizard
1 = TCnIniFilerWizard
1 = TCnMemProfWizard
1 = TCnExplorerWizard
1 = TCnFilesSnapshotWizard
1 = TCnInputHelper
1 = TCnVerEnhanceWizard
1 = TCnUsesToolsWizard
1 = TCnIdeEnhanceMenuWizard
1 = TCnIdeBRWizard
1 = TCnCodeFormatterWizard
1 = TCnCodingToolsetWizard
1 = TCnDebugEnhanceWizard
1 = TCnAICoderWizard

CPU:

Processors: 14

Type: Intel 586 model 186 Stepping 2
Speed: 3010,83 MHz

Keyboard:
Type 0: Japanese keyboard with OEM FKeys
Layout: Polish (Programmers) (pl) in KBDPL1.DLL

Localization Info:
Number of Digits: '2'
Leading Zero: '1'
List Separators: ';'
Grouping: '3;0'
Decimal Separator: ','
Group Separator: ' '
Monetary Grouping: '3;0'
Monetary Decimal Separator: ','
Monetary Group Separator: ' '

Borland.BufferList
Priority = 4
Enabled = 1
Castalia.Bindings.NavTools
Priority = 0
Enabled = 1
Castalia.SmartHomeKey
Priority = 1
Enabled = 1
Castalia.SmartSurroundKeys
Priority = 2
Enabled = 1
CnPack.BufferList
Priority = 5
Enabled = 1
DDevExtensions.KeyBindings
Priority = 7
Enabled = 1
GExperts.TGxKeyboardBinding
Priority = 6
Enabled = 1
RefactoringCommands
Priority = 3
Enabled = 1
RunSelectedTests
Priority = 8
Enabled = 1
RunTestAtCursor
Priority = 9
Enabled = 1

Editor Settings:
Editor Font: Consolas
Font Size: 12
Char Height: 19
Char Width: 9
Use Tab: 0
Tab Width: 2

@cnpack
Copy link
Owner

cnpack commented Oct 23, 2024

Yes. It's a known bug but currently no clue to fix it.

Delphi itself will randomly shift the editor, but no notification, we can't know the time to fully repaint editor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants