Make TextEditor an IDBearer, via slurl segments!

This commit is contained in:
Liru Færs
2019-11-24 06:03:46 -05:00
parent 79e1830ba9
commit 6d5df7c9af
7 changed files with 81 additions and 258 deletions

View File

@@ -4,69 +4,58 @@
label="User"
name="Url Popup">
<menu_item_call label="Send IM..." name="send_im">
<on_click function="Text.Url" userdata="SendIM" />
<on_click function="List.StartIM" />
</menu_item_call>
<menu name="Actions" label="Actions">
<menu_item_call label="Profile" name="show_agent">
<on_click function="Text.Url" userdata="ShowProfile" />
<menu_item_call label="Profile" name="Profile">
<on_click function="List.ShowProfile"/>
<on_enable function="List.EnableAnySelected"/>
</menu_item_call>
<menu_item_call label="Web Profile" name="Web Profile">
<on_click function="Text.Url.Ext" userdata="ShowWebProfile"/>
<on_visible function="Text.Url.ExtVisible" userdata="ShowWebProfile"/>
<on_click function="List.ShowWebProfile"/>
<on_visible function="List.VisibleWebProfile"/>
</menu_item_call>
<menu_item_call label="Pay" name="Pay">
<on_click function="Text.Url.Ext" userdata="Pay"/>
<on_visible function="Text.Url.ExtVisible" userdata="Pay"/>
<on_click function="List.Pay"/>
</menu_item_call>
<menu_item_call label="Call" name="Call">
<on_click function="Text.Url.Ext" userdata="Call"/>
<on_visible function="Text.Url.ExtVisible" userdata="Call"/>
<on_click function="List.StartCall"/>
<on_visible function="List.EnableCall"/>
</menu_item_call>
<menu_item_call
label="Add Friend..."
layout="topleft"
name="add_friend">
<menu_item_call.on_click
function="Text.Url" userdata="AddFriend" />
<menu_item_call label="Add Friend" name="Add Friend">
<on_click function="List.RequestFriendship"/>
<on_visible function="List.EnableIsNotFriend"/>
</menu_item_call>
<menu_item_call label="Remove Friend" name="Remove Friend">
<on_click function="List.RemoveFriend"/>
<on_visible function="List.EnableIsFriend"/>
</menu_item_call>
<menu_item_call
label="Remove Friend..."
layout="topleft"
name="remove_friend">
<menu_item_call.on_click
function="Text.Url" userdata="RemoveFriend" />
</menu_item_call>
<menu_item_call label="Invite To Group" name="Invite To Group">
<on_click function="Text.Url.Ext" userdata="InviteToGroup"/>
<on_visible function="Text.Url.ExtVisible" userdata="InviteToGroup"/>
<on_click function="List.InviteToGroup"/>
</menu_item_call>
<menu_item_call label="Offer Teleport" name="Offer Teleport">
<on_click function="Text.Url.Ext" userdata="OfferTeleport"/>
<on_visible function="Text.Url.ExtVisible" userdata="OfferTeleport"/>
<on_click function="List.OfferTeleport"/>
</menu_item_call>
<menu_item_call label="Teleport To" name="Teleport To">
<on_click function="Text.Url.Ext" userdata="TeleportTo"/>
<on_visible function="Text.Url.ExtVisible" userdata="TeleportTo"/>
<on_click function="Radar.TeleportTo"/>
<on_visible function="List.IsNearby"/>
</menu_item_call>
<menu_item_call label="Request Teleport" name="Request Teleport">
<on_click function="Text.Url.Ext" userdata="RequestTeleport"/>
<on_visible function="Text.Url.ExtVisible" userdata="RequestTeleport"/>
<on_click function="List.RequestTeleport"/>
</menu_item_call>
<menu_item_call label="Share" name="Share">
<on_click function="Text.Url.Ext" userdata="Share"/>
<on_visible function="Text.Url.ExtVisible" userdata="Share"/>
<on_click function="List.Share"/>
</menu_item_call>
<menu_item_call label="Chat History" name="Chat History">
<on_click function="Text.Url.Ext" userdata="ShowLog"/>
<on_visible function="Text.Url.ExtVisible" userdata="ShowLog"/>
<on_click function="List.ShowLog"/>
</menu_item_call>
<menu_item_call label="Track/Untrack" name="Track/Untrack">
<on_click function="Text.Url.Ext" userdata="Track"/>
<on_visible function="Text.Url.ExtVisible" userdata="Track"/>
<on_click function="List.Track"/>
<on_visible function="List.IsNearby"/>
</menu_item_call>
<menu_item_call label="Focus" name="Focus">
<on_click function="Text.Url.Ext" userdata="Focus"/>
<on_visible function="Text.Url.ExtVisible" userdata="Focus"/>
<on_click function="List.Focus"/>
<on_visible function="List.IsNearby"/>
</menu_item_call>
</menu>
<menu_item_separator
@@ -86,44 +75,42 @@
function="Text.Url" userdata="CopyUrl" />
</menu_item_call>
<menu_item_call label="Copy Key to clipboard" name="key_copy">
<menu_item_call.on_click function="Text.Url.CopyUUID" />
<menu_item_call.on_click function="List.CopyUUIDs" />
</menu_item_call>
<menu_item_call label="Select All" name="Select All">
<on_click function="Text" userdata="SelectAll"/>
</menu_item_call>
<menu label="Moderation" name="Moderation" create_jump_keys="true">
<menu_item_call label="Mute" name="Mute">
<on_click function="Text.Url.Ext" userdata="Mute"/>
<on_visible function="Text.Url.ExtVisible" userdata="Mute"/>
<on_click function="List.ToggleMute"/>
<on_visible function="List.EnableMute"/>
</menu_item_call>
<menu_item_call label="Unmute" name="Unmute">
<on_click function="Text.Url.Ext" userdata="Unmute"/>
<on_visible function="Text.Url.ExtVisible" userdata="Unmute"/>
<on_click function="List.ToggleMute"/>
<on_visible function="List.EnableUnmute"/>
</menu_item_call>
<menu_item_call label="Ban From Group" name="Ban From Group">
<on_click function="Text.Url.Ext" userdata="BanFromGroup"/>
<on_visible function="Text.Url.ExtVisible" userdata="BanFromGroup"/>
<on_click function="List.BanFromGroup"/>
</menu_item_call>
<menu_item_call label="Report Abuse" name="Report Abuse">
<on_click function="Text.Url.Ext" userdata="AbuseReport"/>
<on_visible function="Text.Url.ExtVisible" userdata="AbuseReport"/>
<on_click function="List.AbuseReport"/>
</menu_item_call>
<menu_item_separator/>
<menu_item_call label="Freeze" name="Freeze">
<on_click function="Text.Url.Ext" userdata="Freeze"/>
<on_visible function="Text.Url.ExtVisible" userdata="Freeze"/>
<on_click function="List.Freeze"/>
<on_visible function="List.IsNearby"/>
</menu_item_call>
<menu_item_call label="Eject/Ban from Parcel" name="Eject/Ban from Parcel">
<on_click function="Text.Url.Ext" userdata="ParcelEject"/>
<on_visible function="Text.Url.ExtVisible" userdata="ParcelEject"/>
<on_click function="List.ParcelEject"/>
<on_visible function="List.IsNearby"/>
</menu_item_call>
<menu_item_call label="Eject from estate" name="Eject from estate">
<on_click function="Text.Url.Ext" userdata="EstateEject"/>
<on_visible function="Text.Url.ExtVisible" userdata="EstateEject"/>
<on_click function="List.EstateEject"/>
<on_visible function="List.IsNearby"/>
</menu_item_call>
<menu_item_call label="Eject and ban from estate" name="Eject and ban from estate">
<on_click function="Text.Url.Ext" userdata="EstateBan"/>
<on_visible function="Text.Url.ExtVisible" userdata="EstateBan"/>
<on_click function="List.EstateBan"/>
<on_visible function="List.IsNearby"/>
</menu_item_call>
</menu>
</context_menu>

View File

@@ -11,7 +11,7 @@
function="Text.Url" userdata="CopyUrl" />
</menu_item_call>
<menu_item_call label="Copy Key to clipboard" name="key_copy">
<menu_item_call.on_click function="Text.Url.CopyUUID" />
<menu_item_call.on_click function="List.CopyUUIDs" />
</menu_item_call>
<menu_item_call label="Select All" name="Select All">
<on_click function="Text" userdata="SelectAll"/>

View File

@@ -8,7 +8,7 @@
layout="topleft"
name="show_group">
<menu_item_call.on_click
function="Text.Url" userdata="ShowProfile" />
function="List.ShowProfile" />
</menu_item_call>
<menu_item_separator
layout="topleft" />
@@ -27,7 +27,7 @@
function="Text.Url" userdata="CopyUrl" />
</menu_item_call>
<menu_item_call label="Copy Key to clipboard" name="key_copy">
<menu_item_call.on_click function="Text.Url.CopyUUID" />
<menu_item_call.on_click function="List.CopyUUIDs" />
</menu_item_call>
<menu_item_call label="Select All" name="Select All">
<on_click function="Text" userdata="SelectAll"/>

View File

@@ -57,7 +57,7 @@
function="Text.Url" userdata="CopyUrl" />
</menu_item_call>
<menu_item_call label="Copy Key to clipboard" name="key_copy">
<menu_item_call.on_click function="Text.Url.CopyUUID" userdata="object"/>
<menu_item_call.on_click function="List.CopyUUIDs"/>
</menu_item_call>
<menu_item_call label="Select All" name="Select All">
<on_click function="Text" userdata="SelectAll"/>