Text Projects

From some previous posts you may see that I am porting code. The quickest way (so far) seems to be to add directly to the code files in a Xojo text project. The more that I read them the more that the code files become clear - however there are a few things that I am curious about:

  1. The #tag ViewBehavior section - what is it for? I thought the ‘Super’ ViewProperty was obvious until I looked at a class that inherits from Runtime Exception.
#tag ViewBehavior
	#tag ViewProperty
		Name="ErrorNumber"
		Group="Behavior"
		InitialValue="0"
		Type="Integer"
		InheritedFrom="RuntimeException"
	#tag EndViewProperty
	#tag ViewProperty
		Name="Index"
		Visible=true
		Group="ID"
		InitialValue="-2147483648"
		Type="Integer"
		InheritedFrom="Object"
	#tag EndViewProperty
	#tag ViewProperty
		Name="Left"
		Visible=true
		Group="Position"
		InitialValue="0"
		Type="Integer"
		InheritedFrom="Object"
	#tag EndViewProperty
	#tag ViewProperty
		Name="Message"
		Group="Behavior"
		Type="String"
		EditorType="MultiLineEditor"
		InheritedFrom="RuntimeException"
	#tag EndViewProperty
	#tag ViewProperty
		Name="Name"
		Visible=true
		Group="ID"
		Type="String"
		InheritedFrom="Object"
	#tag EndViewProperty
	#tag ViewProperty
		Name="Super"
		Visible=true
		Group="ID"
		Type="String"
		InheritedFrom="Object"
	#tag EndViewProperty
	#tag ViewProperty
		Name="Top"
		Visible=true
		Group="Position"
		InitialValue="0"
		Type="Integer"
		InheritedFrom="Object"
	#tag EndViewProperty
#tag EndViewBehavior
  1. The Flags = hex value setting for Methods, Properties etc (example below).
#tag ComputedProperty, Flags = &h0
	#tag Getter
		Get
		  return 0.746
		End Get
	#tag EndGetter
	Shared HP_KW As Double
#tag EndComputedProperty
  1. If I want to insert my own new file in a project what are the last three values (hex, hex, bool) in the examples below for?
Module=GEO;GEO.xojo_code;&h440917FF;&h0;false
Class=NotImplementedException;Utility/NotImplementedException.xojo_code;&h364FDFFF;&h7F6627FF;false

Can anyone explain some of these to me?

The “false” flag could be for a Class (true) or a Module (false). Add a Class and see if that flag is “true”.
The rest I am not sure about as I do not know how to get a text file with tags for a Xojo project, to experiment with.