Opened 12 years ago
Last modified 8 years ago
#186 assigned refactoring
textual -- splitter enhancements
Reported by: | Fred T. Hamster | Owned by: | bugdock |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | feistymeow-nucleus | Version: | |
Keywords: | Cc: |
Description
splitter:
- rule for common abbreviations
- parse "dr." and "mr." properly so they're not considered to be the ends of sentences.
- single letters with periods after them are also special, like h.h. dalai lama should read that way.
- that's because there are two single ones in front.
- currently it double spaces the h. dalai part, since it thinks it's a sentence.
- split lines wrong re periods
- punctuation only counts if there's a space after it. or a quote after it.
- otherwise, if it's in the middle of a word, it must not cause a line break.
- splitter mods
- needs to handle quotes better.
- if there's a period in the quote, it counts as the period to get two spaces.
- but if it's a comma, it needs just one space.
- another splitter paragraph signal
- if a line is indented, that can be taken as a cue for a new paragraph!
- keep the indent?
- need default indent specification for new paragraphs.
- enhancements:
- the indenter guy should allow any character to be described as the space character between words. then \ and / can be used for breaking files up.
- the indenter should allow an indentation on the left and an indentation on the right to be maintained (the one on the right is there already, right?).
Note:
See TracTickets
for help on using tickets.