Ted feature

Monkey Forums/Monkey Programming/Ted feature

skid(Posted 2013) [#1]
When using Monkey Help it would be nice to Open In Browser from context menu. This allows

* help to be used side by side with code window
* find and print options from using Browser

Interestingly the context menu when used on links in Monkey Help have extra options, open in new window, which seems broken on MacOS.

I was thinking of trying to build Ted in QT Creator and patching it, maybe even suggesting the "community edition" and was curious if there was already some Ted patches happening elsewhere?


Markus(Posted 2013) [#2]
they don't work for windows also in v75d.
alternative you can start monkey twice for side by side view.
only the copy link work i saw, you can paste in browser.


AdamRedwoods(Posted 2013) [#3]
I did do a Ted mod for Windows, and it is quite simple to modify and compile your own. The Qt project file does it all for you.
http://monkeycoder.co.nz/Community/posts.php?topic=4740


skid(Posted 2013) [#4]
Hi Adam, I have installed Qt 5.1 on Mac and from Qt Creator I was hoping to import Ted project and run from there, however first attempts have failed. Which file is the QT project file and is it distributed with Ted?


therevills(Posted 2013) [#5]
Another nice feature in Ted would be to create a Mojo (Strict) template eg: New > New Mojo Template File




AdamRedwoods(Posted 2013) [#6]
Which file is the QT project file and is it distributed with Ted?

monkey/src/ted.pro


skid(Posted 2013) [#7]
Cool, with that as launch I have but one error, looks eVil...

SetCodecForCStrings, ouch...

http://nitrologic.blogspot.co.nz/


dawlane(Posted 2013) [#8]
Comment out QTextCodec::setCodecForCStrings( QTextCodec::codecForName( "UTF-8" ) );
It will compile as it's been removed in QT 5, but you should checkout the link below.

http://www.macieira.org/blog/2012/05/source-code-must-be-utf-8-and-qstring-wants-it/


MikeHart(Posted 2013) [#9]
I would love to see the ability to split the coding area so you can see more then one file at the same time.

Also I would love to have the parameters of methods and functions displayed in the Code Browser window again, like we had in Monk.

Next would be that the entries in the code browser could be sorted again, like in Monk.


skid(Posted 2013) [#10]
OK, commented out offending line now I get:

This application failed to start because it could not find or load the Qt platform plugin "cocoa"


AdamRedwoods(Posted 2013) [#11]
Also I would love to have the parameters of methods and functions displayed in the Code Browser window again, like we had in Monk.


yeah, i added that into the Ted Win mod above. I could try to compile for OSX, later today.


dawlane(Posted 2013) [#12]
@Skid: Never tried to build Ted on QT 5 on a OSX, but have a look at the links below

http://qt-project.org/forums/viewthread/34860
http://qt-project.org/forums/viewthread/26446
https://qt-project.org/forums/viewthread/32894
http://qt-project.org/doc/qt-5.0/qtdoc/deployment-mac.html


skid(Posted 2013) [#13]
Thanks for that and yuck...

I think I'll give up for now.

The comments in the ted.pro file suggest I do indeed need to downgrade QT.

On second thoughts, I may start with creating a fresh QT Creator 5.1.1 HTML5 project and see if I can add stuff piece by piece.

[edit] The basic HTML5 project is OK. Mavericks style FullScreen is not supported and the QT Creator app itself I'm not sure would pass AppStore guidelines.