Yes, it's the abbreviation of "Steuerung", the german word for the noun "control"gnozal hat geschrieben:I assume strg is CTRL ?
jaPBe für PB 4.00
- freedimension
- Admin
- Beiträge: 1987
- Registriert: 08.09.2004 13:19
- Wohnort: Ludwigsburg
- Kontaktdaten:
@gnozal
Koennte man MSDN V8 auch noch als Alternative zur win32.chm
einbauen ?
Der folgende Code geht, moechte es allerdings nicht jedesmal kompilieren muessen.
Dann noch der Doppelklick auf eine "Procedure"
WindowCallback.pbi
Koennte man das noch Optional machen, mich nervt das sehr.
Vielen Dank (zumindest fuers lesen
).
Koennte man MSDN V8 auch noch als Alternative zur win32.chm
einbauen ?
Der folgende Code geht, moechte es allerdings nicht jedesmal kompilieren muessen.
Code: Alles auswählen
Procedure SDK_IsAvaiable()
IsAvaiable = 0
If RegCreateKeyEx_(#HKEY_CURRENT_USER, "Software\Microsoft\MSDN\8.0\Help", 0, 0, #REG_OPTION_NON_VOLATILE, #KEY_READ , 0, @NewKey, @KeyInfo) = #ERROR_SUCCESS
index = 0
Repeat
ValueName$ = Space(260)
ValueNameSize = 260
ValueData$ = Space(260)
ValueDataSize = 260
Result = RegEnumValue_(NewKey, index, @ValueName$, @ValueNameSize, 0, @ValueType, 0, 0)
If Result = #ERROR_SUCCESS And ValueType = #REG_SZ
If Left(LCase(ValueName$),17) = "ms-help://ms.msdn" ; current version: ms-help://MS.PSDK.1033
PlatformSDKHelpString$ = ValueName$
IsAvaiable = 1
Break
EndIf
EndIf
index + 1
Until Result <> #ERROR_SUCCESS
RegCloseKey_(NewKey)
EndIf
ProcedureReturn IsAvaiable
EndProcedure
Dann noch der Doppelklick auf eine "Procedure"
WindowCallback.pbi
Code: Alles auswählen
;{-__notify sciedi DoubleClick
Case #SCN_DOUBLECLICK
WaitForLMBUp()
startPos=SCI_GetSelectionStart()
StartLine=SCI_LineFromPosition(startPos)
If SCI_MarkerGet(StartLine)&#FoldMask_Start
;-___Click in Faltline
PostMessage_(MainWin,#mywm_OpenFold,0,StartLine) ; <-----
Else
If GetAsyncKeyState_(#VK_CONTROL)&$FF00
FindDefinition(startPos,SCI_GetSelectionEnd()) ;<-------
EndIf
EndIf
Vielen Dank (zumindest fuers lesen
Zuletzt geändert von edel am 27.03.2006 18:58, insgesamt 1-mal geändert.
What about option 'SDK anstelle von Win32.hlp verwenden' ?hallodri hat geschrieben:Koennte man MSDN V8 auch noch als Alternative zur win32.chm einbauen ?
I guess most users like it. Why do you double-click on procedures then ?hallodri hat geschrieben:Dann noch der Doppelklick auf eine "Procedure"
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
- ts-soft
- Beiträge: 22292
- Registriert: 08.09.2004 00:57
- Computerausstattung: Mainboard: MSI 970A-G43
CPU: AMD FX-6300 Six-Core Processor
GraKa: GeForce GTX 750 Ti, 2 GB
Memory: 16 GB DDR3-1600 - Dual Channel - Wohnort: Berlin
Wenn es vielleicht möglich wäre, das jaPBe den BOM Header auswertet, so
wie die IDE?
Und natürlich auch schreibt!
wie die IDE?
Und natürlich auch schreibt!
PureBasic 5.73 LTS | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Nutella hat nur sehr wenig Vitamine. Deswegen muss man davon relativ viel essen.

Nutella hat nur sehr wenig Vitamine. Deswegen muss man davon relativ viel essen.

Unfortunately, I use a non unicode OS (Win98SE) and don't know nothing about unicode/utf-8 etc...ts-soft hat geschrieben:Wenn es vielleicht möglich wäre, das jaPBe den BOM Header auswertet, so wie die IDE?
Und natürlich auch schreibt!
If you can tell me what to check when loading a file (and what to do with it) and when to add this header when saving a file, I will of course add the feature to jaPBe.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Diese Option laesst aber nur PSDK und nicht MSDN zu.gnozal hat geschrieben:What about option 'SDK anstelle von Win32.hlp verwenden' ?hallodri hat geschrieben:Koennte man MSDN V8 auch noch als Alternative zur win32.chm einbauen ?
Ich bin faul und brauch das zum markierengnozal hat geschrieben:I guess most users like it. Why do you double-click on procedures then ?hallodri hat geschrieben:Dann noch der Doppelklick auf eine "Procedure"
(Ich hoffe ich hab das jetzt richtig verstanden)
- ts-soft
- Beiträge: 22292
- Registriert: 08.09.2004 00:57
- Computerausstattung: Mainboard: MSI 970A-G43
CPU: AMD FX-6300 Six-Core Processor
GraKa: GeForce GTX 750 Ti, 2 GB
Memory: 16 GB DDR3-1600 - Dual Channel - Wohnort: Berlin
PureBasic 5.73 LTS | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Nutella hat nur sehr wenig Vitamine. Deswegen muss man davon relativ viel essen.

Nutella hat nur sehr wenig Vitamine. Deswegen muss man davon relativ viel essen.

So the BOM is 'EF BB BF' at the beginning of the source.ts-soft hat geschrieben:Zu BOM: http://de.wikipedia.org/wiki/Byte_Order_Mark
1. LOADING : if there is a BOM, jaPBe should :
- skip the BOM and load the source ;
- set editor mode to UTF-8.
2. SAVING : if editor is in UTF-8 mode, jaPBe should :
- add BOM at beginning of file ;
- save the rest as usual.
Is this correct ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
generell mal so ne frage...wäre es ohne größeren aufwand möglich japbe auf linux zu portieren...weiß jetzt ja nicht wieviel api darin benutzt wird...hab den source ja nich
die scintilla-engine gibt es ja generell für linux
auf alle fälle wenn du sowas machen könntest wär echt spitze gnozal
mfg
armada
die scintilla-engine gibt es ja generell für linux
auf alle fälle wenn du sowas machen könntest wär echt spitze gnozal
mfg
armada
- ts-soft
- Beiträge: 22292
- Registriert: 08.09.2004 00:57
- Computerausstattung: Mainboard: MSI 970A-G43
CPU: AMD FX-6300 Six-Core Processor
GraKa: GeForce GTX 750 Ti, 2 GB
Memory: 16 GB DDR3-1600 - Dual Channel - Wohnort: Berlin
Keine Ahnung, ich hoffegnozal hat geschrieben:So the BOM is 'EF BB BF' at the beginning of the source.ts-soft hat geschrieben:Zu BOM: http://de.wikipedia.org/wiki/Byte_Order_Mark
1. LOADING : if there is a BOM, jaPBe should :
- skip the BOM and load the source ;
- set editor mode to UTF-8.
2. SAVING : if editor is in UTF-8 mode, jaPBe should :
- add BOM at beginning of file ;
- save the rest as usual.
Is this correct ?
PureBasic 5.73 LTS | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Nutella hat nur sehr wenig Vitamine. Deswegen muss man davon relativ viel essen.

Nutella hat nur sehr wenig Vitamine. Deswegen muss man davon relativ viel essen.

