t.Collins:

> In my App the Calltip window appers left outside the scintilla Widget.

   You should check your application with 1.63 which has changed
autocompletion behaviour.

> Unexact hit-Test in
> bool Editor::PointInSelection(Point pt)
> 
> The method returns true, allthough the point is (left or right ) outside the 
> selection

   Fixing this would be an improvement but it is more complex than
immediately obvious.

> ... 
>     // Collins *Start* even finerer test
>     // The Click could have happened left or right from the selection
>     int curLine   = pdoc->LineFromPosition( pos );
>     int lineStart = pdoc->LineStart( curLine );
>     int lineEnd   = pdoc->LineEnd( curLine );
>                 Point locStart = LocationFromPosition(lineStart);
>                 if (pt.x < locStart.x) {
>                         return false;
>                 }
>                 Point locEnd = LocationFromPosition(lineEnd);
>                 if (pt.x > locEnd.x) {
>                         return false;
>                 }
>     // Collins *End* even finerer test

   This will break for wrapped text as the x location of the end of
the last display line of a document line will often be less than the x
location of characters on previous display lines of that document
line.

> I would appreciate some more const correctness in scintilla.
> Could you make change these methods of SString to const  methods  ? ( This 
> hurts nobody :-)  )
> 
> bool contains(char ch)
> bool contains(const char *sFind)
> 
> to
> 
> bool contains(char ch) const
> bool contains(const char *sFind) const

   OK, committed.

   Neil

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to