APerricone / harbourCodeExtension

Antonino Perricone's extension for visual studio code about Harbour and xHarbour programming languages
32 stars 20 forks source link

memvar aliasing syntax highlighting #58

Closed Hovestar closed 4 years ago

Hovestar commented 4 years ago

Syntax highlighting is broken after aliasing into memvar: image

APerricone commented 4 years ago

it is valid code? memvar is a keyword, like local, public etc etc

mlacecilia commented 4 years ago

Hi Seth, field-> and memvar-> (and its abbreviation m->) are special aliases to specify the type or the scope of the referenced symbol name. field-> assures that the symbol is linked to the corresponding fieldname in the current work area. memvar-> or m-> assures that the symbol is linked to the corresponding private memory variable instead of a same named local, static or field item.

Il ven 27 mar 2020, 06:40 Antonino Perricone notifications@github.com ha scritto:

it is valid code? memvar is a keyword, like local, public etc etc

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/APerricone/harbourCodeExtension/issues/58#issuecomment-604825121, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATLNKQN44ECNBEZY7LOJVTRJQ33HANCNFSM4LUN4TSA .

mlacecilia commented 4 years ago

Sorry, I was replying to Antonino, not to Seth...

Il ven 27 mar 2020, 10:20 Maurizio la Cecilia m.lacecilia@gmail.com ha scritto:

Hi Seth, field-> and memvar-> (and its abbreviation m->) are special aliases to specify the type or the scope of the referenced symbol name. field-> assures that the symbol is linked to the corresponding fieldname in the current work area. memvar-> or m-> assures that the symbol is linked to the corresponding private memory variable instead of a same named local, static or field item.

Il ven 27 mar 2020, 06:40 Antonino Perricone notifications@github.com ha scritto:

it is valid code? memvar is a keyword, like local, public etc etc

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/APerricone/harbourCodeExtension/issues/58#issuecomment-604825121, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATLNKQN44ECNBEZY7LOJVTRJQ33HANCNFSM4LUN4TSA .

edgardmessias commented 4 years ago

I am working on it