Closed GoogleCodeExporter closed 9 years ago
I don't know if it would be possible, but if in the clip was a tag of some
sort, then any selected text would get inserted in to that place.
(Using '(.+)' as tag) - In codeview
eg clip
<p><strong>(.+)</strong></p>
if selection was on
Title of chapter
replacement would be
<p><strong>Title of chapter</strong></p>
Original comment by leighfpa...@gmail.com
on 23 Sep 2010 at 10:14
I'm still thinking this over.
Original comment by Strahinja.Markovic@gmail.com
on 23 Sep 2010 at 10:17
I've decided to go along with this. It won't be implemented any time soon since
there are many other more important features on my plate, but it's on the list.
It will be done one day.
Original comment by Strahinja.Markovic@gmail.com
on 7 Oct 2010 at 2:53
Original comment by Strahinja.Markovic@gmail.com
on 21 Jul 2011 at 9:42
Patch uploaded for review.
Clipboard functionality for Code View:
- Saves/manages text that can be pasted into Code View or CSS files
- Allows text to be pasted before and after current selection (e.g. HTML tag
pairs)
- Right-click context menu in CV to allow selecting named entries to paste
- Groups can be used to create context submenus for easier management of large
collections
- non-modal Clipboard Manager to create/edit/re-order entries or paste into CV
- Entries at the top of the clipboard are used for the context menu (15/20 per
group)
- Context menu not active if word is mispelled to avoid too many menu entries
- Menu entry Edit->Clipboard or right click in CV->Clipboard to open Clipboard
Manager
Original comment by meme90...@gmail.com
on 21 Apr 2012 at 4:00
Attachments:
Updated patch, merged with latest source.
Original comment by meme90...@gmail.com
on 22 Apr 2012 at 4:27
Attachments:
Uploaded actual patch.
Original comment by meme90...@gmail.com
on 22 Apr 2012 at 4:46
Attachments:
Just managed to look through the code, looks like it's going to be a useful
addition to using Sigil, the only thing I could think of (at this moment ;))
would be to also add a 'replace' (selection) along with the before & after
slots.
For example, you could then easily replace/change any selection to <hr
class="chap_break" />
Useful for when you can't do a regex for a set selection text for whatever
reason (usualy bad OCR)
Not super important as a simple workaround could be that the user could use the
replace in one of the before/after slots, then with text selected, use clip,
then delete whatever was selected.
But would be handy and a lot quicker (and you wouldn't forget to delete
selection) if you had a replace text as well.
Thanks.
Original comment by leighfpa...@gmail.com
on 22 Apr 2012 at 7:21
Uploaded new patch. Fixed some issues.
Changed to use 1 field for Text replacement - uses Regex, e.g. allows <p>\0</p>
with \0 being replaced by selection.
Added Import/Export functions for sharing entries.
Original comment by meme90...@gmail.com
on 23 Apr 2012 at 7:56
Attachments:
Updated - export all, check if file exported ok.
Original comment by meme90...@gmail.com
on 24 Apr 2012 at 6:49
Attachments:
Updated patch, fixes a few minor issues.
Original comment by meme90...@gmail.com
on 24 Apr 2012 at 5:04
Attachments:
Original comment by meme90...@gmail.com
on 24 Apr 2012 at 5:04
Issue 154 has been merged into this issue.
Original comment by meme90...@gmail.com
on 25 Apr 2012 at 7:34
Updated patch merged with latest source.
Original comment by meme90...@gmail.com
on 5 May 2012 at 9:26
Attachments:
Original comment by daveheil...@gmail.com
on 19 May 2012 at 3:20
Original comment by daveheil...@gmail.com
on 19 May 2012 at 3:25
Original comment by daveheil...@gmail.com
on 21 Jul 2012 at 6:52
Issue 1516 has been merged into this issue.
Original comment by daveheil...@gmail.com
on 27 Jul 2012 at 4:43
Issue 1458 has been merged into this issue.
Original comment by daveheil...@gmail.com
on 2 Aug 2012 at 6:19
Clipboard functionality for Code View merged - completely revised:
- Saves/manages text or patterns that can be pasted into Code View or CSS files
- Allows text to be inserted if no text selected
- Allows text to be modified if text is selected using regex commands - e.g.
add tag before/after
Code View:
- Context menu to allow selecting named entries
- Shows full heirarchy
- Allows adding selected text to clipboard
- Clipboard Editor
- Hierarchy of entries and groups supported
- Allows pasting direct into CV from editor
- Supports creating groups
- Drag and drop supported
- Context menu for most functions
- Add entries/groups
- Cut/Copy/Paste/Delete
- Collapse/Expand all groups
- Import/Export entries or groups
- Default example entries if no user entries
- Can paste groups (first entry uses regex, remaining are just inserted)
- Context menu not active if word is mispelled to avoid too many menu entries
- Filter on name (allows you to use shortcuts to open clipboard, filter and
select a specific entry using keyboard only)
Original comment by daveheil...@gmail.com
on 3 Aug 2012 at 8:07
Original comment by daveheil...@gmail.com
on 14 Aug 2012 at 4:58
Original issue reported on code.google.com by
leighfpa...@gmail.com
on 21 Sep 2010 at 8:22