https://bugs.documentfoundation.org/show_bug.cgi?id=155946

            Bug ID: 155946
           Summary: Guess separator for the text import dialog
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

When we paste multi-line text, the Text Import dialog springs up. At the
moment, it offers us a default choice of text field separator - separate by
Tab.

But if we are already parsing the text to look for newlines - why not also look
for common separators as well?

* If the line has no tabs, definitely don't  offer tabs as the default
* Ditto for spaces and comments
* Out of the remaining possible separators - apply some simple heuristic for
the choice, e.g. most commonly appearing except for at start and end of line.

The specific heuristic is a matter for bikeshedding, but even "first separator
encountered" is better than what we have now.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to