Search found 7 matches

by taoteblues
Wed Mar 29, 2017 5:02 pm
Forum: Mac OSX
Topic: Italic Underline Bold in EditorGadget [Resolved]
Replies: 8
Views: 3995

Italic Underline Bold in EditorGadget [Resolved]

Thank you,

May be, it's a problem with my poor MACOX 10.5.8 and Purebasic 5.31

Regards
by taoteblues
Tue Mar 28, 2017 3:50 pm
Forum: Mac OSX
Topic: Italic Underline Bold in EditorGadget [Resolved]
Replies: 8
Views: 3995

Re: Italic Underline Bold in EditorGadget

Thank you,

It's ok now for italic and underline but not for bold. May be it's because I am with MACOS 10.5.8 and Purebasic 5.31 x32 ?


Global FontSize.CGFloat = 12.0
Global TextStorage.i
Global BoldFont.i
Global ItalicFont.i
Global UnderlineFont.i
Global BoldItalicFont.i
#NSItalicFontMask = 1 ...
by taoteblues
Fri Mar 24, 2017 2:45 am
Forum: Mac OSX
Topic: Italic Underline Bold in EditorGadget [Resolved]
Replies: 8
Views: 3995

Re: Italic Underline Bold in EditorGadget

Thank you but it's always the same.
I change the value of ' #NSFontItalicTrait': 1, 2 or 3
Not possible to have only italic or only underline.
Have you another idea?
by taoteblues
Mon Mar 20, 2017 4:51 pm
Forum: Mac OSX
Topic: Italic Underline Bold in EditorGadget [Resolved]
Replies: 8
Views: 3995

Re: Italic Underline Bold in EditorGadget

Thank you
This method give me bold + italic
but not italic only


#NSFontItalicTrait = 1
CocoaMessage(@Range.NSRange, GadgetID(#Editor_0), "selectedRange")
TextStorage.i = CocoaMessage(0, GadgetID(#Editor_0), "textStorage")
;FontSize.CGFloat = 12.0
BoldSystemFont.i = CocoaMessage(0, 0, "NSFont ...
by taoteblues
Mon Mar 20, 2017 4:14 am
Forum: Mac OSX
Topic: Italic Underline Bold in EditorGadget [Resolved]
Replies: 8
Views: 3995

Italic Underline Bold in EditorGadget [Resolved]

How to change the text italic or underline in Editorgadget?

I know to make text bold:


CocoaMessage(@Range.NSRange, GadgetID(0), "selectedRange")
TextStorage.i = CocoaMessage(0, GadgetID(0), "textStorage")
FontSize.CGFloat = 12.0
BoldSystemFont.i = CocoaMessage(0, 0, "NSFont boldSystemFontOfSize ...
by taoteblues
Tue Jan 26, 2016 6:04 am
Forum: Coding Questions
Topic: Debugger Error
Replies: 5
Views: 927

Re: Debugger Error

I found the solution.

If you have a french application:
In the menu: "Compilateur" - next - "Options du compilateur" - next - "Compiler/exécuter" and Checkbox on: "Créer l'exécutable temporaire dans le répertoire des sources" for each applications!

Regards
by taoteblues
Mon Jan 25, 2016 7:12 pm
Forum: Coding Questions
Topic: Debugger Error
Replies: 5
Views: 927

Re: Debugger Error

I have the same problem, now !!
What can I do?