bpieber / cuis-smalltalk-styledtexteditor Goto Github PK
View Code? Open in Web Editor NEWA high quality Styled Text Model and Editor for Cuis Smalltalk
License: Other
A high quality Styled Text Model and Editor for Cuis Smalltalk
License: Other
The Pharo code which can be used to export TrueType fonts for importing them into Cuis should be included in the repository. It should be packaged as a Monticello package which can be installed in Pharo 1.4.
The text for the MIT and Sophie licenses should be added to the repository somewhere.
In Cuis 4.2 the style drop down lists are higher than in Cuis 4.0. This has the effect that the label and the style name baselines are not aligned anymore. Furthermore the drop down button is bigger than the scroll bar buttons.
This may also be the reason for the initially wrong scrolling of the drop down list. See the first line. Note that no scroll bar is visible:
Currently Cuis uses cmd-< and cmd-> to cycle windows. This works (for example) on a Mac with US defaults, where the Finder shortcuts for doing that (cycling the windows of the same app) are cmd-and cmd-shift-
. But it doesn't work on a Mac with German defaults, where cmd-< and cmd-> are the Finder (OS) shortcut; because the Squeak VM doesn't get these keystrokes.
What we want is pretty different. We'd like to use the same keystrokes as Finder. We need a way to tell OS-X that we want to handle the "next window in same app" and "previous window in same app" events ourselves, and react to them. Most likely this requires some VM level work.
In addition, think about (and implement) reasonable behaviors for other OSs, like Windows and Linux, that most likely don't have keystrokes for this behavior.
To reproduce:
Beautiful work!!! I really want this in Pharo and I noticed it's on your todo list. How can I help?
A 12 point font doesn't display with the same size in StyledTextEditor as on a Mac text editor like TextEdit. This has to do with the Mac assuming a 96 dpi display while other platforms (Windows, Linux) assume 72 dpi display. Maye make this platform dependent, or a user preference. Check in detail. Make any change consistent for Cuis and STE.
Currently spaces are inserted before methods in .pck files so that they are aligned. This leads to unneeded changes in DVCS diffs.
When I follow the installation instructions a debugger pops up with a MessageNotUnderstood: UndefinedObject>>verticalGradient:topColor:bottomColor:.
It happens during opening of the Styled Text Editor documentation.
--- The full stack ---
UndefinedObject(Object)>>doesNotUnderstand: #verticalGradient:topColor:bottomColor:
PluggableStyledTextMorph class>>withModel:in:
SystemWindow class>>editFancierStyledText:label:
StyledTextInstaller>>open:
StyledTextInstaller>>openStyledTextEditorDocumentation
StyledTextInstaller>>openExamples
StyledTextInstaller>>install
When a StyledTextModel is saved, then renamed and/or moved to a different directory and read again, the file name should set correctly so that when you save the file is saved where it was last loaded from.
It seems cleanest to avoid serializing the fileName and setting it on load.
Open the feature documents using (StyledTextInstaller new openStyledTextEditorFeatures) shows carriage return characters.
Hi,
I am new to Smalltalk, I started my explorations with Squeak.
Today I installed Cuis to see your StyledTextEditor, which is a terrific idea IMO, it may be extremely useful to write wonderful documentation, maybe near methods!
I installed Cuis and STE, all fine, but there is a problem, the font is way toooo small when compared to the Workspace default font. I tried to tune it a bit without much success, I need the font considerablly larger. Is it possible?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.