Skip to content
This repository has been archived by the owner on Jan 31, 2022. It is now read-only.

Table Editor not working if line is starting with * #43

Open
MarcoNovaro opened this issue Jan 16, 2014 · 2 comments
Open

Table Editor not working if line is starting with * #43

MarcoNovaro opened this issue Jan 16, 2014 · 2 comments

Comments

@MarcoNovaro
Copy link

I noticed that TableEditor is not working if line is starting with _; as this is the normal behaviour in C comments, I'd like to use TableEditor in that case as well
For instance (on the _same* view):

* | a | b | c |
* |-<Tab>

TableEditor is not triggered. Instead, on:

| a | b | c |
|-<Tab>

TableEditor is correctly triggered and working

@vkocubinsky
Copy link
Owner

Thanks for feedback.

Your are right Table Editor doesn't work inside C comments, it working only when line starts with '|'. Only spaces before first line in table uses for format a table.

I like share experience with you, usually I enable Table Editor for programming language syntax only temporary with palette "Table Editor: Enable for current view" then after edit a table, I disable table editor for current view with palette "Table Editor: disable for current view". The reason is in Java or C characters '|' and '||' used for other purposes.

Issue have sense for me, let's keep this issue open.

Thanks!

@MarcoNovaro
Copy link
Author

Hello. Thanks for the relply.
Actually, I do the same: I enable Table Editor only when I need it, and then I disable it again.
Nonetheless, I think it could be useful to make it working even if there are other characters on the line. For instance, I'd like to use it to edit tables inside C comments, as DoxyGen is able to parse tables, and to render them in the documentation. So, it would be nice to have it working, and keep characters on the left of the table unchanged.

Thanks again.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants