Kip Posted September 10, 2008 Author Share Posted September 10, 2008 ok MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
Andreik Posted October 6, 2008 Share Posted October 6, 2008 How I can create horizontal and vertical scroll bars to can see all text? When the words fail... music speaks. Link to comment Share on other sites More sharing options...
Michel Claveau Posted October 6, 2008 Share Posted October 6, 2008 (edited) Hi! How I can create horizontal and vertical scroll bars to can see all text?Use a line as: $Sci = CreateWindowEx($WS_EX_CLIENTEDGE, "Scintilla", "SciLexer", BitOR($WS_CHILD, $WS_VISIBLE, $WS_HSCROLL, $WS_VSCROLL, $WS_TABSTOP, $WS_CLIPCHILDREN), $x, $y, $W, $H, $hWnd, 0, 0, 0) . Edited October 6, 2008 by Michel Claveau Link to comment Share on other sites More sharing options...
Andreik Posted October 6, 2008 Share Posted October 6, 2008 Hi! Use a line as: $Sci = CreateWindowEx($WS_EX_CLIENTEDGE, "Scintilla", "SciLexer", BitOR($WS_CHILD, $WS_VISIBLE, $WS_HSCROLL, $WS_VSCROLL, $WS_TABSTOP, $WS_CLIPCHILDREN), $x, $y, $W, $H, $hWnd, 0, 0, 0) .I used Kip example, and doesn't have horizontal and vertical scroll bars. Your line is already a part of CreateEditor function from _SciLexer.au3 but the function not create scroll bars. When the words fail... music speaks. Link to comment Share on other sites More sharing options...
ptrex Posted October 7, 2008 Share Posted October 7, 2008 @Kip Very nice so far. But would it be possible to reuse the Lexer to do HTML code highlighting ? Instead of presenting to output to the GUI -> generated HTML code instead. regards, ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
Kip Posted October 7, 2008 Author Share Posted October 7, 2008 Instead of presenting to output to the GUI -> generated HTML code instead.I dont understand you MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
ptrex Posted October 8, 2008 Share Posted October 8, 2008 @KipLike this syntax highlighterRegards,ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
Kip Posted October 8, 2008 Author Share Posted October 8, 2008 (edited) Do you want to create a HTML lexer? In that case, take a look at these functions: Sci_StyleSet($Sci, $SCLEX_HTML) Sci_SetLexer() HTML is a standard lexer included in the dll. Edited October 8, 2008 by Kip MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
ptrex Posted October 8, 2008 Share Posted October 8, 2008 @Kip Not realy. I am looking for a AU3 lexer in an HTML page as you can see in my previous examples. Regards ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
Kip Posted October 8, 2008 Author Share Posted October 8, 2008 I dont think that's possible. MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
TehWhale Posted November 7, 2008 Share Posted November 7, 2008 (edited) Aha! This is very nice. But how can it support the AutoIt syntax? I want to make a very nice portable Autoit editor with this, but I need syntax. EDIT: Why does the example start with all the text highlighted? And How can I resize or delete the edit so I can maximize/restore the window? EDIT: I can delete the window with WinClose. Edited November 7, 2008 by TehWhale Link to comment Share on other sites More sharing options...
Kip Posted November 7, 2008 Author Share Posted November 7, 2008 EDIT: Why does the example start with all the text highlighted?Add Sci_SetSelection($Sci, 0,0) after you created the gui.And How can I resize or delete the edit so I can maximize/restore the window?Already has been answered.I want to make a very nice portable Autoit editor with this, but I need syntax.Read my first post. MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
TehWhale Posted November 7, 2008 Share Posted November 7, 2008 Add Sci_SetSelection($Sci, 0,0) after you created the gui.Already has been answered.Read my first post.Thanks for the first answer. And about the resize, there was a user who asked about it, but nobody answered him.And theres nothing about syntax in your first post. I even used Ctrl+F to search the topic for it, after I even read it. Nothing. Can you point me out on number two and three? Link to comment Share on other sites More sharing options...
Kip Posted November 7, 2008 Author Share Posted November 7, 2008 (edited) And theres nothing about syntax in your first post. I even used Ctrl+F to search the topic for it, after I even read it. Nothing. Can you point me out on number two and three?I think you need to buy some pair of glasses, cause it's all there.Looks like someone has removed his posts. Anyway... resizing can be done with the normal WinMove function. Edited November 7, 2008 by Kip MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
TehWhale Posted November 7, 2008 Share Posted November 7, 2008 (edited) Once again I think your mistaken. Title says enough (For who don't know, scilexer is an editing control, like the one SciTE uses) It now supports multiple editors, and allows you to write your own lexer. Functions: Kip Old version (where AutoIt is the standard language) SciLexer.zip New version (which allows you to create your own lexer): I recommend to use the new version Edit: AutoIt now isn't the standard language anymore Where in there does it have ANYTHING to do with syntax? And there is nothing in this topic about resizing. Could you give me an answer? I searched this topic throughly and with the find box. Nothing. EDIT: Thanks for the answer to the WinMove. What about syntax? Edited November 7, 2008 by TehWhale Link to comment Share on other sites More sharing options...
UltraFine Posted November 7, 2008 Share Posted November 7, 2008 Title says enough (For who don't know, scilexer is an editing control, like the one SciTE uses) Kip Edit: AutoIt now isn't the standard language anymorewhy autoit is not a standard language anymore? (if don't want to tell it in public than PM) or do you have any alternative of autoit? can you put a example along with more description? i still don't know what is this. Link to comment Share on other sites More sharing options...
TehWhale Posted November 7, 2008 Share Posted November 7, 2008 Uhm, wow. He is saying on this text editor, AutoIt isn't the standard language, you must make your own settings. Link to comment Share on other sites More sharing options...
Kip Posted November 7, 2008 Author Share Posted November 7, 2008 Old version (where AutoIt is the standard language) SciLexer.zip New version (which allows you to create your own lexer): Doesnt that say enough. MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
TehWhale Posted November 7, 2008 Share Posted November 7, 2008 (edited) Doesnt that say enough.I think I might of asked for the wrong thing then. I need it to tell me what params there are for the function just like SciTe. I'll post my code when I get the chance.EDIT: Also, why does it not resize the scroll bar? It is really big when theres nothing on there, and if you type some stuff, and delete it, it keeps going and never gets smaller. Edited November 8, 2008 by TehWhale Link to comment Share on other sites More sharing options...
Kip Posted November 8, 2008 Author Share Posted November 8, 2008 Also, why does it not resize the scroll bar?Horizontal or vertical?I think I might of asked for the wrong thing then. I need it to tell me what params there are for the function just like SciTe. I'll post my code when I get the chance.You a tooltip under the function when you're typing? (CallTip) MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now