-
Notifications
You must be signed in to change notification settings - Fork 248
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
Request: Type Definition in Unit VirtualTrees.pas #1162
Comments
We probably can add alias in VirtualTrees.pas
@joachimmarder what do you think? Any drawbacks? |
I'm not aware of any drawbacks and use aliases frequently. |
Let me know if there is any other important type affected. |
@livius2 : Many simple types are defined in the unit That would make switching between V7 and V8 much easier. |
Only circular unit reference nothing more. |
It should be possible to reduce the amount of breaking changes to what is already documented in the Wiki. |
Move more simple types to VirtualTrees.Types and add aliases in VirtualTrees.pas in order to reduce breaking changes in V8.
Hi,
I would like to inquire on the Breaking Changes are really necessary.
The VirtualTree V8 code includes a new unit VirtualTrees.BaseTree.pas, which defines basic types (e.g. TVirtualNode and PVirtualNode). These types were previously in the VirtualTrees.pas unit.
If you install the current VirtualTree V8 state into the IDE and want to build old existing projects with it, this is not possible anymore, because these basic types are not found anymore. You have to adjust manually and add the new unit VirtualTrees.BaseTree.pas in the uses clause. This means: change of all old projects.
I would like to bypass this task and ask for a compatible solution in the VirtualTree project.
This would be a lot of work that will affect many projects worldwide.
Suggestion: use Include files in VirtualTrees.pas.
Thanks.
The text was updated successfully, but these errors were encountered: