[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Using QScintilla .api files
From:       David Hirschfield <davidh () ilm ! com>
Date:       2007-11-29 20:09:20
Message-ID: 474F1C70.4070601 () ilm ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


> But still within a GUI application?
>
>   
Yes, still within a GUI, just not within an actual QScintilla widget. I 
have two specific UIs that let users enter python expressions which I 
would love to be able to supply auto-completion for. Already having api 
files available for QScintilla, I'd hate to build my own auto-completion 
lookup system from scratch.
>> Is there any documentation on how to load and read from a prepared .api
>> file (the .pap files)? I can't find any docs on the format of the
>> information within those api files at all.
>>     
>
> No is the short answer, but I'm open to suggestions to make elements more 
> reusable - particularly as I need to refactor the widget that displays the 
> list as it has problems on Windows.
>
>   
Really I just want a way to load a set of prepared api files and then 
hand some function the text and ask for the resulting completions or 
calltips, the actual display of those results would be up to my own UI 
to handle.

Or, how about just documentation on what the prepared api file looks 
like internally and how a search for a match is performed by QScintilla? 
I wouldn't be opposed to rolling my own code for reading in and finding 
matches in an api file, if I had some firm grounding in how to go about it.

Thanks for the response,
-Dave

-- 
Presenting:
mediocre nebula.


[Attachment #5 (text/html)]

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<blockquote cite="mid:200711291944.56426.phil@riverbankcomputing.co.uk"
 type="cite">
  <pre wrap="">But still within a GUI application?

  </pre>
</blockquote>
Yes, still within a GUI, just not within an actual QScintilla widget. I
have two specific UIs that let users enter python expressions which I
would love to be able to supply auto-completion for. Already having api
files available for QScintilla, I'd hate to build my own
auto-completion lookup system from scratch.<br>
<blockquote cite="mid:200711291944.56426.phil@riverbankcomputing.co.uk"
 type="cite">
  <pre wrap=""></pre>
  <blockquote type="cite">
    <pre wrap="">Is there any documentation on how to load and read from a prepared .api
file (the .pap files)? I can't find any docs on the format of the
information within those api files at all.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
No is the short answer, but I'm open to suggestions to make elements more 
reusable - particularly as I need to refactor the widget that displays the 
list as it has problems on Windows.

  </pre>
</blockquote>
Really I just want a way to load a set of prepared api files and then
hand some function the text and ask for the resulting completions or
calltips, the actual display of those results would be up to my own UI
to handle.<br>
<br>
Or, how about just documentation on what the prepared api file looks
like internally and how a search for a match is performed by
QScintilla? I wouldn't be opposed to rolling my own code for reading in
and finding matches in an api file, if I had some firm grounding in how
to go about it.<br>
<br>
Thanks for the response,<br>
-Dave<br>
<br>
<pre class="moz-signature" cols="80">-- 
Presenting:
mediocre nebula.
</pre>
</body>
</html>


_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic