![]() |
#76 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,836
Karma: 6120478
Join Date: Nov 2009
Device: many
|
Yes, there are a number of minor refinements and bigger changes that should hold me for a couple of releases.
It looks like I will be redesigning the CodeViewEditor code to move it away from its using regular expressions internally to using the new TagLister (derived from QuickParser which we added for multi-language spellcheck) since the regular expressions would fail if there are comments that use reserved chars or multi-line comments, or cdata sections. We need the TagLister for open and close tag highlighting, so being able to use it to improve CodeViewEditor code is a bonus. |
![]() |
![]() |
![]() |
#77 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 441
Karma: 77256
Join Date: Sep 2011
Device: none
|
How about formatting options as complete as a code editor and/or html formatter? Would be nice and would help more complex code be more readable.
|
![]() |
![]() |
![]() |
#78 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,735
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
|
![]() |
![]() |
![]() |
#79 |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
|
![]() |
![]() |
![]() |
#80 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,643
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I picked up a "make Code View a full-featured html editor" vibe myself. Something that I have no interest in doing. Sigil made it possible to edit xhtml with an external editor of the user's choice precisely because there is no desire on the part of the maintainers to make Sigil a full-fledged code editor.
Last edited by DiapDealer; 01-08-2021 at 12:58 PM. |
![]() |
![]() |
![]() |
#81 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 441
Karma: 77256
Join Date: Sep 2011
Device: none
|
formatting options as complete (as good) as any editor or IDE, not to become an IDE.
![]() e.g., when running format/prettify, use settings such as tab or spaces, number of spaces per indent, etc. generally for any other language, there could be a variation in style guides per company, group, site (e.g., GitHub), etc. an example from JetBrains attached. |
![]() |
![]() |
![]() |
#82 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,643
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
But can't you understand that "features as good (complete) as any editor/IDE" WOULD mean becoming an IDE? There would be no difference in the amount of work involved, or the end result.
If you prefer to do your html editing in a full-featured code editor/IDE when editing your epubs with Sigil, then feel free to do so via Sigil's "Open With" feature. That's why it exists. |
![]() |
![]() |
![]() |
#83 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 441
Karma: 77256
Join Date: Sep 2011
Device: none
|
didn't I say "formatting options" twice? just options for how to format when using prettify, e.g., use tabs or (x # of) spaces, remove empty lines or not, add or not add line breaks for particular tags, whether to indent 1st level of head/body, etc.. goes without saying, nothing for editing features like an IDE.
Last edited by democrite; 01-08-2021 at 01:18 PM. |
![]() |
![]() |
![]() |
#84 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,836
Karma: 6120478
Join Date: Nov 2009
Device: many
|
You need to look up and read about xml stylesheets that can be used to post process xml to format it to your tastes.
Sigil does not support xml stylesheets. As for more control over standard formatting for prettify, this would be an excellent project for an edit plugin. Maybe your company can sponsor one of the plugin developers here to build one for you. |
![]() |
![]() |
![]() |
#85 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,643
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#86 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,798
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#87 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,836
Karma: 6120478
Join Date: Nov 2009
Device: many
|
Checkpointing already exists in Sigil.
1. Load your epub, do not allow it to change anything. 2. Once loaded immediately run checkpoint to make a complete git managed copy. 3. The run reformat HTML using Mend (or any other command that will make changes). 4. Compare against the checkpoint to see all changes or Revert to an earlier checkpoint if needed. |
![]() |
![]() |
![]() |
#88 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 683
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
|
One of the few times I use the Calibre Editor is to create a TOC when there are no headings. I typically use "Generate ToC from files" or one of the other choices.
Would it be feasable to add this to Sigil? (Maybe it's already possible and I just haven't figured it out yet?) |
![]() |
![]() |
![]() |
#89 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,836
Karma: 6120478
Join Date: Nov 2009
Device: many
|
Summary of Sigil Future To-do List
Okay to bring this thread to a close, here is what my to-do list looks like based on these discussions. No promises mind you but ..
Already In the Next Release (Sigil-1.5.0)
On the List for Future Versions of Sigil (no particular order and no promises)
|
![]() |
![]() |
![]() |
#90 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,836
Karma: 6120478
Join Date: Nov 2009
Device: many
|
ps. Thanks to all those who offered considered improvement suggestions whether they made the list of not.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Touch HD, Future features or dead features? | ElWorm | PocketBook | 4 | 02-07-2018 11:36 AM |
New Plugin Features in the upcoming Sigil 0.8.900 | KevinH | Plugins | 6 | 09-14-2015 02:48 PM |
FAQ>How do I use ... features of the conversion tools? | chaot | Library Management | 2 | 08-28-2012 07:28 AM |
Writer2ePub, Sigil, and mjBookMaker Features | Ransom | Writer2ePub | 1 | 09-21-2011 09:20 AM |
ePub Creation Tools: Sigil vs Oxygen | twedigteam | ePub | 6 | 12-10-2010 03:41 AM |