Re: EPB (Editor PureBasic)
Posted: Sat Dec 31, 2011 5:51 pm
Big Thanks 
http://www.purebasic.com
https://www.purebasic.fr/english/
Oops, I must have skimmed past that, so I missed your block commands. That does make the most sense if it acts on the _block sections.dobro wrote:I think keep the name "deblock"
because in fact you can add keywords
"_block" and "_end_block"
to format this type of line...
This is one of the benefits of having the text in a prefs file; users can edit them at will.dobro wrote:lines cut, form a kind of code block ... so. I kept that name ..
if you have an idea to rename ..
yesTenaja wrote:This is one of the benefits of having the text in a prefs file; users can edit them at will.dobro wrote:lines cut, form a kind of code block ... so. I kept that name ..
if you have an idea to rename ..![]()
Fixed in v1.78BTW, I noticed a few items were missed:
* Couleur fond des Procedures (And all of the color-picker dialog text.)
* None of the items in the TOOLS menu were converted.
* Search and Replace dialog box.
I updated this a bit, but it seems to have problems:
155 = Writes the parameters and updates EPB.
156 = If you exit using the red X, the parameters are saved,
157 = but you must restart EPB to see any changes.
...if you do not click the Refresh EPB button, nothing is saved. I tested it by changing the font, then hitting the red X. When I reopened, the new font was not applied. The only way I could get it to apply the new font was with Refresh EPB. Even the Save Current Style did not save the new font, if I clicked the Red X. If I reloaded the new syle file, then everything was applied.
I edited my file so instead of Remove Tab, it reads Close Tab, which seems to be more common with English programs.
If you UNDO one too many times, the whole file disappears. (Even with a freshly OPENed file!)
only if you write something, or space ...It also seems a bit aggressive with the SAVE when you don't want it to...like when you open a file just to view, then you close it. That made the PB IDE complain of file changes.
I will try it.dobro wrote:Version 1.78 online:)
http://michel.dobro.free.fr/download.php?view.25
(or click the menu "update EPB?")
Yes, that is my problem...I opened files just to test the editor, but did not want to change them. When I accidentally hit some keystrokes, then in my PB IDE I have new bugs even though I wanted to close EPB without saving.only if you write something, or space ...
or paste a code ..normally
If I understand it, you issue this command immediately following the file open, and then there will be no more undo possible until you perform an action (i.e. typing or deleting).SCI_EMPTYUNDOBUFFER
This command tells Scintilla to forget any saved undo or redo history. It also sets the save point to the start of the undo buffer, so the document will appear to be unmodified. This does not cause the SCN_SAVEPOINTREACHED notification to be sent to the container.
Code: Select all
Case #menu_undo
ScintillaSendMessage(onglet, #SCI_UNDO)
Case #menu_redo
ScintillaSendMessage(onglet, #SCI_REDO)
Code: Select all
GOSCI_RemoveKeywords(onglet, completioooo$) ; ici on retire les precedentes declarations dans goscintilla
GOSCI_AddKeywords( onglet, completioooo$ ,#STYLES_FUNCTIONS ,#GOSCI_ADDTOCODECOMPLETION,#False)
Code: Select all
Define.i var1_, var2_
Define.l var3, var4Code: Select all
Define.i var1_, var2_Define.l var3, var4Code: Select all
Define.i x, a=12, _
_ = 5
x = a + _
Debug xCode: Select all
If OpenWindow(0, _
100, _
200, _
195, _
260, _
"PureBasic Window", _
#PB_Window_SystemMenu _
| #PB_Window_MinimizeGadget _
| #PB_Window_MaximizeGadget)
Code: Select all
_block
If OpenWindow(0, _
100, _
200, _
195, _
260, _
"PureBasic Window", _
#PB_Window_SystemMenu _
| #PB_Window_MinimizeGadget _
| #PB_Window_MaximizeGadget)
_endblock
Code: Select all
calldebugger
Define.i x, a=12,_= 5 _
,x = a +_
Debug x