Changeset View
Changeset View
Standalone View
Standalone View
applets/notes/package/contents/ui/main.qml
Show First 20 Lines • Show All 255 Lines • ▼ Show 20 Line(s) | 252 | ShortcutMenuItem { | |||
---|---|---|---|---|---|
256 | _text: i18n("Copy") | 256 | _text: i18n("Copy") | ||
257 | onTriggered: contextMenu.retFocus(() => mainTextArea.copy()) | 257 | onTriggered: contextMenu.retFocus(() => mainTextArea.copy()) | ||
258 | } | 258 | } | ||
259 | 259 | | |||
260 | ShortcutMenuItem { | 260 | ShortcutMenuItem { | ||
261 | _sequence: StandardKey.Paste | 261 | _sequence: StandardKey.Paste | ||
262 | _enabled: mainTextArea.canPaste | 262 | _enabled: mainTextArea.canPaste | ||
263 | _iconName: "edit-paste" | 263 | _iconName: "edit-paste" | ||
264 | _text: i18n("Paste Without Formatting") | 264 | _text: i18n("Paste") | ||
265 | onTriggered: contextMenu.retFocus(() => documentHandler.pasteWithoutFormatting()) | 265 | onTriggered: contextMenu.retFocus(() => documentHandler.pasteWithoutFormatting()) | ||
266 | } | 266 | } | ||
267 | 267 | | |||
268 | ShortcutMenuItem { | 268 | ShortcutMenuItem { | ||
269 | _enabled: mainTextArea.canPaste | 269 | _enabled: mainTextArea.canPaste | ||
270 | _text: i18n("Paste") | 270 | _text: i18n("Paste With Formatting") | ||
271 | _iconName: "edit-paste" | 271 | _iconName: "edit-paste" | ||
272 | onTriggered: contextMenu.retFocus(() => mainTextArea.paste()) | 272 | onTriggered: contextMenu.retFocus(() => mainTextArea.paste()) | ||
273 | } | 273 | } | ||
274 | 274 | | |||
275 | ShortcutMenuItem { | 275 | ShortcutMenuItem { | ||
276 | _sequence: StandardKey.Delete | 276 | _sequence: StandardKey.Delete | ||
277 | _enabled: mainTextArea.selectedText.length > 0 | 277 | _enabled: mainTextArea.selectedText.length > 0 | ||
278 | _iconName: "edit-delete" | 278 | _iconName: "edit-delete" | ||
▲ Show 20 Lines • Show All 190 Lines • Show Last 20 Lines |