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

editor->formatRange (SCI_FORMATRANGE) not yet implemented #37

Open
pryrt opened this issue Apr 6, 2020 · 1 comment
Open

editor->formatRange (SCI_FORMATRANGE) not yet implemented #37

pryrt opened this issue Apr 6, 2020 · 1 comment
Assignees
Labels
help wanted Extra attention is needed nice-v1.0 would be nice to have by v1.0

Comments

@pryrt
Copy link
Owner

pryrt commented Apr 6, 2020

while working on #34, discovered SCI_FORMATRANGE is not yet implemented

I don't remember whether I cxouldn't think of how to do it, or if it was the first with a structure, and I postponed then forgot about it

@pryrt pryrt added the nice-v1.0 would be nice to have by v1.0 label Apr 6, 2020
@pryrt pryrt self-assigned this Apr 6, 2020
@pryrt pryrt added the help wanted Extra attention is needed label Apr 7, 2020
@pryrt
Copy link
Owner Author

pryrt commented Apr 7, 2020

I re-looked at Scintilla SCI_FORMATRANGE docs : I could try to implement the underlying c structure in perl: however, that's always been hard to get right, and without a known-working sequence, I wouldn't know where the problem was

Notepad++ has a working sequence in printer.cpp, but it's too convoluted for me to follow without giving myself some intermediary print statements or an IDE, so I can find out what actually ends up in the structure.

This is not likely to happen anytime soon.

If someone has a known-working PythonScript example of calling editor.formatRange(), that would at least be a start ... but that might be difficult, because as of PythonScript 1.5.2, I don't see that one in the editor documentation. :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed nice-v1.0 would be nice to have by v1.0
Projects
None yet
Development

No branches or pull requests

1 participant