Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new api giving location of blocks in source. #112

Open
GoogleCodeExporter opened this issue Mar 23, 2015 · 1 comment
Open

new api giving location of blocks in source. #112

GoogleCodeExporter opened this issue Mar 23, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

I join a patch that set up an api (IWemPositionListener) providing number
of line and column for each begining/end of block. It differs from
IWemListener only by the fact that each event fonction also pass 2 integers
corresponding to line and column position of the block.

Note that this patch don't break clients that use IWemListener.

This patch don't include yet position support for all blocks, all test
haven't been written too. But it would be better to apply this patch as
soon as possible.

This feature is needed in order to add annotation feature to XWiki Enterprise.

Thanks,
Lucien Pereira

Original issue reported on code.google.com by [email protected] on 20 Feb 2009 at 9:00

Attachments:

@GoogleCodeExporter
Copy link
Author

It's not really needed for XWiki annotations anymore but it would be needed 
very useful for other use cases like syntax highlighting.

Original comment by [email protected] on 28 Jun 2010 at 6:55

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

No branches or pull requests

1 participant