Did you know ...
Search Documentation:
Send methods
HOME
DOWNLOAD
SWI-Prolog
Sources/building
Docker images
Add-ons
Browse GIT
DOCUMENTATION
Manual
Packages
FAQ
Command line
PlDoc
Bluffers
▶
Prolog syntax
PceEmacs
HTML generation
License
Publications
Rev 7 Extensions
TUTORIALS
Beginner
▶
Getting started
Learn Prolog Now!
Simply Logical
Debugger
Development tools
Advanced
▶
Modules
Grammars (DCGs)
clp(fd)
Printing messages
PlDoc
Web applications
▶
Web applications
Let's Encrypt!
Pengines
Semantic web
▶
ClioPatria
RDF namespaces
Graphics
▶
XPCE
GUI options
Machine learning
▶
Probabilistic Logic Programming
External collections
▶
Meta level tutorials
For packagers
▶
Linux packages
COMMUNITY
Forum & mailing list
Blog
News
Report a bug
Submit a patch
Submit an add-on
Roadmap (on GitHub)
External links
Contributing
Code of Conduct
Contributors
SWI-Prolog items
COMMERCIAL
WIKI
Login
View changes
Sandbox
Wiki help
All tags
Documentation
Reference manual
Packages
XPCE
Classes
class text_image
Instance variables
Send methods
text_image->center
text_image->compute
text_image->dump_map
text_image->wrap
Get methods
1.167.2
Send methods
text_image ->center:
index=int, line=[int]
Scroll the text such that the character at the given index is on the given physical line (1-based) of the window. When
line
is omitted, index will be placed around the center of the image.
text_image ->compute:
Updates the -map and informs the redrawing system of the part of the image that needs to be updated.
text_image ->dump_map:
Dump map of the screen. Used for system maintenance only. See also -map and
text_image
->
compute
.
text_image ->wrap:
{none,character,word}
Wrap mode for long lines. This has several implications on the behaviour of editor. Please check
editor
->
wrap
for details.