Files
gpx.studio/website/src/lib/docs/no/menu/edit.mdx
T

112 lines
3.9 KiB
Plaintext
Raw Normal View History

2024-07-23 17:21:34 +02:00
---
title: Edit actions
---
<script lang="ts">
2026-10-31 19:00:35 +01:00
import { Undo2, Redo2, Info, PaintBucket, ArrowRightLeft, FileStack, ClipboardCopy, Scissors, ClipboardPaste, Trash2, Plus } from '@lucide/svelte';
2024-07-23 17:21:34 +02:00
import DocsNote from '$lib/components/docs/DocsNote.svelte';
</script>
# { title }
Unlike the file actions, the edit actions can potentially modify the content of the currently selected files.
2026-10-31 19:00:35 +01:00
Moreover, when the tree layout of the files list is enabled (see [Files and statistics](../files-and-stats)), they can also be applied to [tracks, segments, routes, and points of interest](../gpx).
2024-07-23 17:21:34 +02:00
Therefore, we will refer to the elements that can be modified by these actions as _file items_.
Note that except for the undo and redo actions, the edit actions are also accessible through the context menu (right-click) of the file items.
### <Undo2 size="16" class="inline-block" style="margin-bottom: 2px" /><Redo2 size="16" class="inline-block" style="margin-bottom: 2px" /> Undo and redo
Using these buttons, you can undo or redo the last actions you performed.
This applies to all actions of the interface but not to view options, application settings, or map navigation.
### <Info size="16" class="inline-block" style="margin-bottom: 2px" /> Info...
Open the information dialog of the currently selected file item, where you can see and edit its name and description.
### <PaintBucket size="16" class="inline-block" style="margin-bottom: 2px" /> Appearance...
Open the appearance dialog, where you can change the color, opacity, and width of the selected file items on the map.
2024-09-18 17:28:48 +02:00
### <Plus size="16" class="inline-block" style="margin-bottom: 2px" /> New track
Create a new track in the selected file.
<DocsNote>
2024-12-28 19:22:36 +01:00
This action is only available when the tree layout of the files list is enabled.
2024-09-18 17:28:48 +02:00
Additionally, the selection must be a single file.
</DocsNote>
2026-10-31 19:00:35 +01:00
### <Plus size="16" class="inline-block" style="margin-bottom: 2px" /> New route
Create a new route in the selected file.
<DocsNote>
This action is only available when the tree layout of the files list is enabled.
Additionally, the selection must be a single file.
</DocsNote>
2024-09-18 17:28:48 +02:00
### <Plus size="16" class="inline-block" style="margin-bottom: 2px" /> New segment
Create a new segment in the selected track.
<DocsNote>
2024-12-28 19:22:36 +01:00
This action is only available when the tree layout of the files list is enabled.
2024-09-18 17:28:48 +02:00
Additionally, the selection must be a single track.
</DocsNote>
2026-10-31 19:00:35 +01:00
### <ArrowRightLeft size="16" class="inline-block" style="margin-bottom: 2px" /> Convert to route/track
Convert the selected routes to tracks, or the selected tracks or segments to routes.
Since a route has a single segment, a track with multiple segments is converted into one route per segment.
When the selected files contain only routes, or only tracks, you can also convert all of them at once.
<DocsNote>
Except for whole files, this action is only available when the tree layout of the files list is enabled.
</DocsNote>
2024-07-23 17:21:34 +02:00
### <FileStack size="16" class="inline-block" style="margin-bottom: 2px" /> Select all
Add all file items in the current hierarchy level to the selection.
### <ClipboardCopy size="16" class="inline-block" style="margin-bottom: 2px" /> Copy
Copy the selected file items to the clipboard.
<DocsNote>
2024-12-28 19:22:36 +01:00
This action is only available when the tree layout of the files list is enabled.
2024-07-23 17:21:34 +02:00
</DocsNote>
### <Scissors size="16" class="inline-block" style="margin-bottom: 2px" /> Cut
Cut the selected file items to the clipboard.
<DocsNote>
2024-12-28 19:22:36 +01:00
This action is only available when the tree layout of the files list is enabled.
2024-07-23 17:21:34 +02:00
</DocsNote>
### <ClipboardPaste size="16" class="inline-block" style="margin-bottom: 2px" /> Paste
Paste the file items from the clipboard to the current hierarchy level if they are compatible with it.
<DocsNote>
2024-12-28 19:22:36 +01:00
This action is only available when the tree layout of the files list is enabled.
2024-07-23 17:21:34 +02:00
</DocsNote>
### <Trash2 size="16" class="inline-block" style="margin-bottom: 2px" /> Delete
Delete the selected file items.