john-tvh / VBE_Extras

VBE Extras ... extending the VBA editor
https://www.thevbahelp.com/vbe-extras
1 stars 0 forks source link

LiveCodeInfo does not update when cursor moves directly between a Property Get and matching Property Let/Set #11

Closed john-tvh closed 1 year ago

john-tvh commented 1 year ago

Describe the bug Live Code Info does not update when cursor moves directly between a Property Get and matching Property Let/Set

To Reproduce Steps to reproduce the behavior:

  1. In a Module with a Property Get and a Property Let/Set (with the same name), click on the Property Get and wait for Live Code Info to update
  2. Click on the Property Let/Set (with the same name) ... Live Code Info does not update, still reflecting the info for the Property Get
  3. The reverse is also the case

Code sample

Option Explicit

Dim mNum As Long

Property Let Num(value As Long)
    mNum = value
End Property
Property Get Num() As Long
    Num = mNum
End Property

Expected behavior Live Code Info should update to reflect the correct Property

Please complete the following information: VBE_Extras v1.3.1.0 [Release], build 20 Apr 2023 17:15:23 LGF: v2.1.0.0 LGS: v3.1.2.0 LFF: v3.6.11.0 .NET Framework 4.8.4614.0 CLR: v4.0.30319 Microsoft Windows 10.0.19045 : X64 Debugger attached Dev device Excel 365 (16.0, 16227, WIN64, VBA7) VBE 7.01 UI Lang: en-US Host: excel.EXE v16.0.16227.20280 LCI NS: True EE NS: False

john-tvh commented 1 year ago

Fixed in release 1.4.0.0