-
BBCeditor is a simple editor for BBCode.
Anyone is welcome to write mini-review ;)
I am opened for any comments and suggestions.
http://fenixproductions.pl/files/bbceditor/index.html (http://fenixproductions.pl/files/bbceditor/index.html)
Download (http://fenixproductions.pl/files/bbceditor/bbceditor_1135b.zip)
Sources (http://fenixproductions.pl/files/bbceditor/bbceditor_1135b_src.zip)
.NET 2.0 framework is required!
Snippets
Users can define their favourite phrases to be used in "auto-coplete type" list box which pops up on Ctrl+Space shortcut. Please remember, that if you want to have multiple lines for snippet, you should use Ctrl+Enter to jump to new line in Value field of Snippets tab (Settings window).
Custom toolbar size
It is now possible to set own toolbar size via Settings dialog. If you want to do so you need to have your own buttons images and set their folder.
Sample images are included into ZIP (inside "tango24" folder).
Custom buttons
Users can add their own buttons to top toolbar. They can also define bbcode which will be inserted into editor and HTML code replacement for preview.
Please remember to define tags without brackets (both: for bb and HTML)!
Customizable preview themes
Preview control uses styles.css file located in application's directory. Anyone can change its content easily, just to make preview better.
Screenshot:
[ You are not allowed to view attachments ]
2018.03.16
- no code change, rehost
1.1.35
- added - option for clearing non-existing Recent files on startup
- changed - if some text is selected, clicking on Regexp button uses it inside tags - if there are (.*?) or (\d*?) in expressions
- added - few Regex buttons samples added - taken from here as ioncube suggested
1.1
- changed - changed images functionality
- changed - upper case bug fixed
- added - DC images added
- added - Minimize added
1.0.30
- fixed - AskForSaveOnExit and AskSaveOnExit did not work properly;
1.0.29
- fixed - list tag problem (alternative parser engine only);
1.0.28
- added - Inline Mode which puts cursor within inserted tags;
- changed - general code clean-up;
- fixed - files paths problems for Recent menu;
- fixed - problems with alternative parsing engine for few empty tags preview;
1.0.27
- fixed - Replace problems with spaces;
1.0.26
- fixed - error on startup with files (with Undo/Redo activated);
- changed - simple text custom buttons support multiple lines in BBcode field (use Ctrl+Enter to add it);
- changed - new icon for BBCeditor.exe;
1.0.25
- added - "Choose CSS" tool;
- added - UndoRedo feature (experimental, can be set by INI!);
- added - more CSS classes for elements!
- changed - Ctrl+G for Replace dialogue (old Ctrl+R is now handled by Redo);
- fixed - Paste handling (text is unformatted now);
older…
1.0.24
- fixed: files loading method (speeds up processing time);
- added: new OpenFileDialog (with preview);
- changed: small code cleanup;
1.0.23
- fixed - access violation error when adding images to new (clear) file;
- changed - parsing in separate thread;
- changed - shortcut keys info window is resizable now;
1.0.22
- fixed - simple text custom buttons tags were sometimes parsed incorrectly;
- fixed - changing custom button type is reflected on list right away;
- added - new parsing engine (based on regexp);
1.0.21
- fixed - error while opening empty files;
1.0.20
- added - option for new file overwrite message (off by default);
- changed - it's possible to come back to editor from save on close message;
- changed - click on URL button places selected text between url tags;
- fixed - access violation on code area click;
1.0.19
- added - SpellCheck dialogue is now resizable;
- fixed - small bug with new lines (in Preview panel);
1.0.18
- changed - limited shortcuts range;
- added - "simple text" option for custom buttons (HTML code field supports %APP_PATH% variable);
1.0.17
- fixed - bugs with date variables for file name patterns;
- added - date variables for Snippets;
- added - option for simple URLs matching;
1.0.16
- fixed - small bugs in Options dialogue (with up/down buttons);
- added - Snippets feature;
1.0.15
- changed - SpellChecker preview font follows code editor;
- added - simple status bar;
1.0.14
- fixed - Ctrl+I shortcut and tab problem;
- added - Find and Replace dialogues;
1.0.13
- fixed - editor fonts were sometimes shown incorrectly;
1.0.12
- added - splitter menu;
- added - Recent files menu;
- added - Export to MHT (web archive);
- fixed - links to images generated incorrectly;
- fixed - freezing refresh;
- fixed - text was shown as changed on Settings save;
1.0.11
- fixed - window position was not saved at all (only size);
- fixed - normal window state was not saved if closed maximized previously.
1.0.10
- fixed - second url= tag was ignored,
- fixed - few freezes with non-closed tags (i.e. email)
1.0.9
- added - window size can be remembered;
- added - extended drag'n'drop support;
- added - 32x32 icon set;
1.0.8
- fixed - table tag button was not working correctly (application freeze for empty tag);
1.0.7
- changed - table tag parsing (with colspan and CSS classes);
- added - autorefresh preview option;
- added - startup parameters (filename) support;
- fixed - cells with spaces only were not shown;
1.0.6
- fixed - automatic table: only one "th" tag was added for many columns;
1.0.5
- added - shortcuts info form,
- added - customisable "Save as" file name pattern;
1.0.4
- fixed button images scaling (second toolbar);
1.0.3
- added custom toolbar size;
- added custom buttons handling;
- added options dialog;
-
Nice :Thmbsup:
-
1.0.1 is out :)
I've made a little change / fix:
previously all tags have been added at the end of the text and caret moved to the beginning. Now tags are inserted into caret location.
-
I've been dying to have something like this. The main feature request that I have is to allow custom tags and associated custom buttons for those tags.
-
2superboyac
This is something I've been planning to add after spell check.
-
Small update to see if SpellChecker works correctly. Please test :)
P.S. Only english for now.
-
The main feature request that I have is to allow custom tags and associated custom buttons for those tags.
-superboyac
+1
Also, any chance of an option for the buttons to be twice the size?
-
Small update to see if SpellChecker works correctly. Please test :)
P.S. Only english for now.
-fenixproductions
It does for me. It's happy with some off-beat words and also it uses British English which is better for me, personally, than American English but not quite as useful as Canadian English. :)
-
Also, any chance of an option for the buttons to be twice the size?-cranioscopical
I'll consider it when I add Options dialog.
It does for me. It's happy with some off-beat words and also it uses British English which is better for me, personally, than American English but not quite as useful as Canadian English. :)-cranioscopical
It's OpenOffice dictionary AFAIR.
-
2superboyac
This is something I've been planning to add after spell check.
-fenixproductions
Cool!
-
One more small update (no version change):
- fix for problem with multiple quotes (found while editing previous post :)
-
1.0.3 is out!
I've added possibility to define custom buttons and to set toolbars size.
Custom buttons will insert defined bbcode into editor. Please, remember that brackets are added automatically so do not use them in Settings dialog. Same thing goes with HTML code replacement for tags.
Setting own toolbars height can be achieved in Settings but user will have to define valid images (PNG) folder. These images will be used as buttons icons. If you don't know how to name your PNGs, take a look on included tango24 folder.
-
1.0.4 is out.
I've fixed lower toolbar images scalling (too much comments in code ;)
-
1.0.4 is out.
I've fixed lower toolbar images scalling (too much comments in code ;)
-fenixproductions
Thanks for fixing the scaling, that works nicely now! :up:
-
Maybe something I missed, but I can't get this thing to work for me. It appears as though it should be an extract and run application (assuming .Net 2.0 exists) - is that correct?
Either way, that is what I did and it is just not doing anything from what I can tell.
-
2steeladept
If you got .NET framework 2.0 installed on your machine: download, unpack and double click on EXE. Nothing more.
I can see only three things which can be a problem:
- no 2.0 framework installed - app will not start at all;
- dictionaries - in older machines it takes a time for reading them (5 seconds here) so you can rename dic folder temporary to see if it's the reason;
- no automatic refresh - application is loaded, you type code in but have no preview (either hit F5 or click on top right refresh button);
Other reasons should generate error messages. Do you get any?
-
1.0.5 is out.
I've added window with information about available shortcuts.
Users can also define "Save as" filename (date&time variables support) template.
-
Is the table bit right?
with a 3 x 3 I get:
[ You are not allowed to view attachments ]
-
2cranioscopical
I see you've got only one header here so first column width is set according to it:
[ You are not allowed to view attachments ]
You can always try to change CSS for it ;)
Thanks for spotting that. I see it needs to be fixed ("automatic table" should insert same number of "th" tags as "td").
-
1.0.6 is out!
Fixed: only one "th" tag was added for many columns.
ToDo: better table tag parsing.
-
I see you've got only one header here so first column width is set according to it:
-fenixproductions
:-[ Whenever there's a point I have >75% chance of missing it.
Thanks for .6
-
2cranioscopical
I'll try to implement better parsing and nicer preview (with colspan and separate classes for rows / columns) for tables.
BTW I was wrong. Columns width depends on the widest cell. Your first column was set to header because it had "the longest" content. With colspan implemented this will no longer be a problem but you will have to get your hands dirty with CSS :p
I suggest to customize style.css for better visibility:
table
{
border: 1px dotted rgb(90,90,90);
}
td
{
border: 1px dotted rgb(255,0,0);
padding:4px;
}
th
{
padding:4px;
border: 1px dotted rgb(0,0,255);
background-color: rgb(255,255,200);
}
P.S. And I found another bug for tomorrow: empty cells are not visible :(
-
1.0.7 is out!
I've changed table tag parsing so now "colspan" attribute will be used for rows with less columns than max.
Additionally each table, row and cell have unique class name. Just take a look on the source of generated preview (RMB -> Show source).
I have also implemented automatic preview.
-
I've changed tab;e tag parsing so now "colspan" attribute will be used for rows with less columns than max.
Additionally each table, row and cell have unique class name.
And now, for the common-sensely challenged, how about a robust 'undo' ?
-
And now, for the common-sensely challenged, how about a robust 'undo' ?-cranioscopical
OK. I'll try to add it.
Honestly: I had only read about it and it looked complicated so I've decided to add it later. Now it's time for it, IMHO.
BTW One question which bothers me:
What do you think about drag'n'drop? What would it be the best way to get that implemented for files?
I've thought about it and the only way I see now is:
- bbc files - open immediately (should I ask about saving changed content or don't bother user at all?);
- txt files - insert text from them;
- images - insert proper img tag.
But I am not sure about it. Any other ideas?
-
bbc files - open immediately (should I ask about saving changed content or don't bother user at all?)
I'd think, when in doubt ask. You could make it an option, I suppose.
Perhaps, as you say, undo would be better left until later, in case additions cause unsuspected problems.
I'm probably going to use this application less than others who are more knowledgeable, so I hope we see some other, better-informed points of view expressed.
-
bbc files - open immediately (should I ask about saving changed content or don't bother user at all?)
I'd think, when in doubt ask. You could make it an option, I suppose.
-cranioscopical
I will make it optional (ignore, ask, auto-save).
Perhaps, as you say, undo would be better left until later, in case additions cause unsuspected problems.-cranioscopical
I always have separate sources copy just for testing so I can roll back any changes any time. I will play with it more and see what will happen.
I'm probably going to use this application less than others who are more knowledgeable, so I hope we see some other, better-informed points of view expressed.-cranioscopical
Maybe "less than others" but you're giving most of the ideas :)
-
1.0.8 is out
I've fixed freezing for empty table tags.
-
1.0.8 is out-fenixproductions
Here's a little cosmetic thing.
Like me, its memory isn't perfect. BBCe doesn't remember GUI size.
If I close it sized as in the upper portion, it reopens sized as in the lower. (I have icons set to 22 under 'Appearance'.)
[ You are not allowed to view attachments ]
-
2cranioscopical
I'll add it for next release.
-
1.0.9 is out!
Application's memory should be better now (window size can be remembered).
I have also implemented drag'n'drop support.
-
1.0.10 is out!
I've fixed few problems with opened tags and corrected parsing of url= tag.
-
1.0.10 is out!
I've fixed few problems with opened tags and corrected parsing of url= tag.
-fenixproductions
Thanks for your efforts!
This version wants always to open lower doen the screen than where it was closed.
Have you changed the positioning params at all? Reversed top/bottom pos?
-
This version wants always to open lower doen the screen than where it was closed.
Have you changed the positioning params at all? Reversed top/bottom pos?-cranioscopical
Crap... I forgot to do one thing. Wait for an update ;)
-
1.0.11 is out with few fixes:
- window position was not saved at all (only size);
- normal window state not saved if it was maximized previously.
-
1.0.11 is out with few fixes:
- window position was not saved at all (only size);
- normal window state not saved if it was maximized previously.
-fenixproductions
With 1.0.11 I still get a different position on open than was true on close.
The images show the same screen (they're shown side by side only for convenience).
[ You are not allowed to view attachments ]
-
2cranioscopical
I think I've got it. Can you download and check again?
If it's still not working, please, post your INI settings from General section.
-
Can you download and check again?
-fenixproductions
You fixed it! :Thmbsup:
-
You fixed it! :Thmbsup:-cranioscopical
Copy&paste fault ;) I had unnecessary part of code for checking PosX > 0 taken from SizeWidth.
BTW Can anyone enlighten me how position is presented in dual-monitors setup?
If I had two monitors - 1024x768 each, would it enable "virtual" resolution 2048x768 or what? How would it work for maximizing an application on one of the screens?
-
Others are far better equipped to answer than I but my two 1600x1200 give me 3200x1200.
By default, maximizing a window maximizes it to the screen it's on.
Utilities, such as UltraMon, allow maximizing to the entire (two-screen) desktop.
-
Wow this has been active! I missed that you responded so I am so sorry for the very long delay. I redownloaded the current version to see if there is a difference but there isn't. I don't get anything at all. No error, no application. It is like it never starts running. I am guessing that options 2 & 3 would be ruled out by that. As for option 1, I won't say it is fully installed correctly (though I believe it is), but I do have .Net 1.1, 2.0 (w/ SP1), and 3.0 (w/ SP1) installed. I will try reinstalling .Net 2.0, but I am not holding much hope in that being the problem.
EDIT: Nope, verified that it didn't change a thing. I don't get it.
-
2steeladept
This is very strange. What operating system do you have?
Please try attached test applications:
- test1.exe - should load simple Form,
- test2.exe - simple Form with WebBrowser control (which points to Google).
-
The plot thickens....
Attached is the screenshot of the results of your test files. ***EDIT - I didn't bother attaching them since they worked and I figured out where the problem lies*** I would show you the results from starting BBCedit, but I don't have any. I started it with taskmanager open and it starts and stops after about 3 seconds. Nothing else even indicates that the system recognized the attempt.
Ha, I just figured it out. The one difference between your test files and the actual code is where I executed it from. I have a network drive labeled Z: that I have been trying to run it from. Just on a whim after your test files ran, I copied the folder to the local drive and ran it from there. That works fine :huh:
Perhaps you know why that is? Any recommendations since I can't keep it on the local drive (it is a shared computer and reverts back to original settings when I logoff)?
-
2steeladept
Thank you for nailing it.
As I can see (thx Google) this problem is related to Network Sharing Policy:
http://www.west-wind.com/WebLog/posts/275.aspx
http://social.msdn.microsoft.com/Forums/en-US/clr/thread/e4a65263-24f9-45a6-a2ad-6c26aae36075
I will try to find some solution from coding point of view.
-
Thanks. It really was kind of weird and obscure that something like that would have been the issue. Usually I don't ever get to the bottom of those types of issues. I am glad I did with this one.
-
sounds like a very useful tool! downloading now...
-
1.0.12 is out
When I was writing TC 7.5 post I found few thing for improvement so...
I've added splitter menu for easier position changing and Recent files menu. Additionally Export MHT feature has been implemented (under Tools menu). I hope it works well because that part was tricky for me.
I have also fixed few bugs:
- links to images were sometimes generated incorrectly when picture was in the same folder as BBC file;
- opening or saving files was freezing refresh panel; now refreshing is stopped until complete text reload;
- when user saved Settings (clicked on OK button), titlebar was informing that text itself has been changed;
-
Not that I expected it to from your fixed bugs list, but that didn't help the working across the network problem I had - in case you were wondering. :D
-
2steeladept
Your problem can't be solved in BBCeditor easily because it's framework issue and MS security policy.
There are two ways for "fixing" it but they either are troublesome or are something I don't want to do:
- making installer which will change security policies on PC;
- make non-.NET loader which will do the same dynamically;
Both ways require same things: you have to store them on local PC and run each time you want to use BBCeditor.
How does it differ from current situation? You have to copy something to local machine and you will loose it after restart.
The only way (but not secure) is to have valid network policy set in backup system's image. If your administrator allows to run other executables from network than it should be no difference for him to add a rule for .NET.
That link should explain how to do that:
http://support.microsoft.com/kb/832742
-
1.0.13 is out!
Changes:
- fix for fonts change;
Please note that font fix (available on "Appearance" tab of "Settings" dialogue) might cause flickering.
-
Link to very simple WWW page (http://fenixproductions.dcmembers.com/bbc/) added to first post :)
-
That's a beautiful page.
-
2superboyac
Thank you.
-
fenix,
Nice app! Wow, I have to check this darn subforum more often!
Thanks!
Jim
-
ctrl-i seems to insert unwanted blanks after the tags, whereas hitting the 'I' button doesn't?
See attached screenshot. Neat little app, BTW.
-
2gladtobegrey
Thank you for your report.
This bug is strange because there is the same part of code responsible for adding tags via buttons and shortcuts (at least for the simplest ones like b, i, tt). It looks like RichTextBox control error with Ctrl+I shortcut: it always inserts additional \t (tab) character!
I will try to find solution :)
Edit:
I will post fixed version later today.
Solution
And for people who might be interested in fix:
private void codeTB_KeyDown( object sender, KeyEventArgs e )
{
...
if (e.Control)
{
...
if (e.KeyCode == Keys.I)
{
e.Handled = true;
e.SuppressKeyPress = true;
//do what you want here
}
}
...
}
-
New version 1.0.14 is ready!
I've fixed Ctrl+I problem described in posts above and added Find and Replace dialogues.
-
New version 1.0.14 is ready!-fenixproductions
:Thmbsup: Thanks!
-
New version 1.0.14 is ready!
I've fixed Ctrl+I problem ...
-fenixproductions
:up: Thanks!
-
Hi fenixproductions.
I think I know the answer but have you any way to make text in the spelling checker a larger size?
-
2cranioscopical
Which control do you have in mind? "Text being checked"?
Would following font set for editor be enough for you?
If yes, I'll see what can I do.
-
2cranioscopical
Which control do you have in mind? "Text being checked"?
Would following font set for editor be enough for you?
If yes, I'll see what can I do.
-fenixproductions
Indeed, "Text being checked". That's the most difficult part for me to read at my screen res. I can pretty much work out "Suggestions" by word shapes, without having to read those carefully. Anything you can do would be much appreciated :up:
-
1.0.15 is out.
SpellChecker preview font now follows code editor.
I have also added simple status bar :)
-
1.0.15 is out.
SpellChecker preview font now follows code editor.
I have also added simple status bar :)
-fenixproductions
Brilliant, thanks!
Some d-credits are heading your way!
-
New version (1.0.16) is out!
I've fixed small bugs with lists in Settings window.
I have also added "Snippets" feature (activated on Ctrl+Space).
[ You are not allowed to view attachments ]
Please remember: if you want to have mullti-line snippet, you can jump to new line using Ctrl+Enter. Simple Enter closes Settings window!
-
Nice addition, fenixp.
Two things.
Either snippets don't work for me or I don't understand them.
I have two snippets set up.
The snippets window pops up on Ctrl-space.
I can select either one of my two test snippets but can't see how to get the snippet content into the message body.
Also, can we have something other than Ctrl-Space, which launches FARR on my system?
Please?
-
2cranioscopical
Which shortcut do you propose?
BTW Try this use case:
1. Ctrl+Space to show list,
2. choose proper item using arrows,
3. hit Enter key.
Currently, it works with keyboard only but I plan to add mouse clicks handling later.
I think you could misunderstood "Ctrl+Enter" case which applies for Settings window only.
-
2cranioscopical
Which shortcut do you propose?
BTW Try this use case:
1. Ctrl+Space to show list,
2. choose proper item using arrows,
3. hit Enter key.
Currently, it works with keyboard only but I plan to add mouse clicks handling later.
-fenixproductions
The shortcut: I discovered that CRTL+ALT+SPACE works just fine as things are now, so please ignore my request for an alternative.
Usage "3. hit Enter key": works perfectly! My mortification is complete :-[ :)
Thanks for the help!
-
The shortcut: I discovered that CRTL+ALT+SPACE works just fine as things are now-cranioscopical
I am glad it works but I was not aware it can work this way :o
It works because I am checking for Ctrl+Space without disabling other special keys (like Alt or Shift). Since it suits your need I can leave it as it is.
Do you have any wishes for variables support? I thought about adding dates in similar way as file name pattern (though it might need some fixes).
I've implemented dates support and it will be released with next version.
-
Speaking purely for myself, I think the current state covers all that I want.
That said, I seem to find uses for your innovations whenever they arrive. :)
If it causes no conflicts elsewhere, please leave the CTRL+[other]+space enabled.
-
1.0.17 is out!
I've added date variables support for snippets :)
There is also "Match simple URLs" option added for showing URL addresses as clickable links in preview even if there is no matching tag (url or email) written. I did it because some BB engines do not need tags for them at all!
-
Nice one!
This is a snippet
over 3 lines with a date
June 6, 2009
-
Nice one!
This is a snippet
over 3 lines with a date
June 6, 2009
-cranioscopical
;D
-
So, snippets are good. They can also do what I mention below, but without an icon.
How about a custom button type that allows for simple text?
So that one could set up, say, a button showing :Thmbsup: that would insert the appropriate string.
-
2cranioscopical
I think it's almost possible now:
1. add custom button
2. set it as: Single
3. set BBcode as: ;)
4. set HTML code: img src="D:\txt_garbage\thumbsup.png"
5. set picture path: D:\txt_garbage\thumbsup.png
Do I understand correctly that the only difference would be to not have [] added and/or allow skipping HTML code for it at all?
If yes, I could do it in next version :)
-
2cranioscopical
Do I understand correctly that the only difference would be to not have [] added and/or allow skipping HTML code for it at all?
If yes, I could do it in next version :)
-fenixproductions
Yes. that's all it would need.
Thanks!
-
Unfortunately I have to be very wary every time I use a keyboard shortcut. There are too damn many on my computer as it is. I love using the keyboard but this is getting crazy! No software installations overwrite existing software's hotkeys, Or the existing ones refuse to yield and then I can't use them in the new software... unless it has a way to change the hotkeys manually.
I never know what will happen when I press the hotkeys now. Grrrr. !!
Jim
-
No software installations overwrite existing software's hotkeys, Or the existing ones refuse to yield and then I can't use them in the new software...-J-Mac
As far as I understand, BBCeditor does not overwrite "existing software's hotkeys". It has it's own set but you can tell the same about any other application in your system. I don't think there is easy way to check which shortcuts are occupied globally because there are too many "tricks" behind it: registry entries, Start menu keys, services, background applications with keyboard hooks or drivers. Do you really think I should check all possibilities and disable not suited combinations?
The only solution I can see is to make my set configurable but this is something I still have to learn and can't do right away.
That is why I assumed that common shortcuts (i.e. Ctrl+B) are safe enough to be used. I thought the same thing about combinations which exist in other editors (i.e. Ctl+Space in Visual Studio).
I never know what will happen when I press the hotkeys now. Grrrr. !!-J-Mac
For BBCeditor: Help -> Shortcuts.
I've always thought that I should always expect that focused application keys have priority. If other application starts working while sitting in tray or background then it is its "fault". It is rather non-standard behaviour to be worried about hooks set by other applications. I.e. how can I predict that nVidia will take Alt+LeftArrow to rotate screen by 90 degrees or FARR will pop up? It is almost impossible to do.
I feel your criticism is undeserved because I simply did what I had thought would be the best: to follow other editors shortcuts as much as possible.
I will try to limit my keys a little bit (i.e. Ctrl+Space and Ctrl+Alt+Space for snippets only) but I don't really know how far should I go.
-
I wasn't criticizing your program fenix. Just commenting in reply to Chris's post. I often can't use keyboard shortcuts because of the reasons I mentioned. If there is no other way to access a feature, I'm sometimes in trouble!
Jim
-
2J-Mac
I see your opinion better now. There was no recipient in your message and that is why I overreacted a little bit ;)
I agree with you with some parts of ranting (I've mentioned nVidia already)…
-
2J-Mac
I see your opinion better now. There was no recipient in your message and that is why I overreacted a little bit ;)
I agree with you with some parts of ranting (I've mentioned nVidia already)…
-fenixproductions
Sorry about that. Actually I thought I had quoted Chris's post - guess I missed it.
I imagine the hotkey issue sounds weird to most - unless they have experienced it! I agree that the in-focus app should be in control, but I can tell you that is not always the case! It is maddening when you are working in one applications, use a hotkey that was defined for the program, and suddenly see a different program open and respond to the hotkey instead. And you didn't even know you had a hotkey available for that program!
Right after my last post I opened Tranglos's new app ActiveHotkeys and Autohotkey and decided try once again to learn AHK. :) Maybe I can fix some of these that way.
Jim
-
2J-Mac
I understand it completely because it happened to me few times too.
The strangest issue was with already mentioned nVidia. I am always switching off unnecessary garbage from my system tray in home PC but at office you've got preconfigured environment to work with and lot of apps you're not aware of. So it took me more than 15 minutes and physical screen rotation (hopefully: LCD) to figure out what happened. I was in the middle of writing and my whole screen rotated unexpected. I was wondering who, the hell, had thought it was "nice to have" feature ;)
-
2J-Mac
I understand it completely because it happened to me few times too.
The strangest issue was with already mentioned nVidia. I am always switching off unnecessary garbage from my system tray in home PC but at office you've got preconfigured environment to work with and lot of apps you're not aware of. So it took me more than 15 minutes and physical screen rotation (hopefully: LCD) to figure out what happened. I was in the middle of writing and my whole screen rotated unexpected. I was wondering who, the hell, had thought it was "nice to have" feature ;)
-fenixproductions
Same thing almost happened to me last week! I recently purchased an Acer monitor and while installing the driver that came with it four programs were also installed. One was a configuration app that was OK; E.g., it has an auto-brightness adjustment depending on the ambient lighting and whether or not the screen is mostly white or a darker screen. I can live with that one, but the others were not necessary at all. One is a screen rotator and when using a hotkey that I use often in TextAloud a dialog popped up asking if I was sure I wanted to rotate my screen orientation 90 degrees. Yikes! I removed that one.
Jim
-
Guys,
I believe the technical term for this issue is the hotkey hokey cokey.
:)
-
1.0.18 is ready :)
Most important change: "simple text" option for custom buttons!
Sample usage:
1. set your button like:
[ You are not allowed to view attachments ]
2. get result:
[ You are not allowed to view attachments ]
-
You're right, this is 8) :up: :up:
Thank you very much for that.
BTW, I find the ability to have a larger font in the spelling checker very useful.
May I submit a wish list?
- Is it possible to make the 'Spell Check' dialogue larger? It would be good, when using a larger font, to see more of the 'text being checked'. At the moment, a larger font means fewer words in view. I see the dialogue has a resizer, but it's disabled.
- Is it possible to change the font in the preview pane? Or at least its size?
- Can you display the icons attached to the new 'single tag, simple text' in the preview pane?
[ You are not allowed to view attachments ]
-
Is it possible to make the 'Spell Check' dialogue larger? It would be good, when using a larger font, to see more of the 'text being checked'. At the moment, a larger font means fewer words in view. I see the dialogue has a resizer, but it's disabled.-cranioscopical
I will try to make it resizable (with width / height saving).
Is it possible to change the font in the preview pane? Or at least its size?-cranioscopical
That is what style.css file exists for :)
You can add this to it:
Can you display the icons attached to the new 'single tag, simple text' in the preview pane?-cranioscopical
You need to specify proper HTML tag for your simple texts. Please, take a look on first screenshot from my previous post.
Simply written: <img src="YOUR PATH TO FILE" />
The best ways is to copy button image path into src attribute quotes.
-
[ You are not allowed to view attachments ]
Sorry for being so dim!
-
2cranioscopical
Small reminder: you can customize any element of the Preview panel using mentioned style.css file. Just investigate it a little bit more :)
If you know HTML and CSS and miss some IDs / classes / tags, then take a look on generated Preview code (RMB -> View source). If you see what is behind, you should create nice layout easily.
-
@fenix: Thanks, you did say that way back at the beginning but, to be honest, I'd forgotten.
-
@fenix: Thanks, you did say that way back at the beginning but, to be honest, I'd forgotten.-cranioscopical
That is why I've used "small reminder" phrase :)
-
Uh-oh.
1.0.18 is throwing errors here. I can open it, check or change settings, no problem. But as soon as I click in the left pane the following error dialog appears:
[attachimg=#1][/attachimg]
If I click continue it stays open but again I cannot click in the left pane or I get the same message.
Jim
-
2J-Mac
Can you post "Detalis"? What happens with clean INI file?
Can you try debug version (just replace EXE and copy PDB files into BBCeditor directory) and post "Details" too?
If there is no problem with new INI, please post old one. Of course, use spoiler tag for it :)
-
1.0.19 is out!
SpellCheck dialogue can be resized now.
I have also fixed small bug with new lines in HTML code generated for Preview panel.
2J-Mac
If you still have problems, please download standard version first and overwrite existing files with the ones from this archive:
http://fenixproductions.dcmembers.com/bbc/debug.zip
If some error will occur, post any details then.
-
1.0.19 is out!
SpellCheck dialogue can be resized now.-fenixproductions
That's very welcome, it is a great improvement as far as I am concerned :up: :up:
Plus, playing with style.css has set me up with text displays that suit my screen res.
I have also fixed small bug with new lines in HTML code generated for Preview panel.
I'd noticed noticed an occasional line break quirk but assumed it was something I'd caused... because it usually is :)
Thanks again!
-
2J-Mac
I think I found where "your" bug occurs. It should be solved with next release.
-
1.0.20 is out!
I think I've fixed access violation error for code area click (reason: empty snippets list).
I have also added an option to have different overwrite warning while user wants to save code to file which already exists. This feature is switched OFF by default because I did not test it too much. Although I think there should be no problems with it.
I have also made few smaller changes like:
- additional Cancel button in "Save on close" message;
- click on URL button surrounds selected text with proper tags (same behaviour as for other buttons - i .e. B);
Now I am working on better BB parsing engine which will use regular expressions only. I hope it will speed things up a little bit.
Small part of it is already implemented and can be switched on via hidden UseAltParser=1 parameter but it still requires a lot of work.
-
@fenix: More first-class improvements!
So, let me reward your efforts by being yet more of a pain! ;)
CTRL-Z handles undo, but not in all cases.
"ddd eee" then CTRL-Z = ""
"ddd eee" then select "eee" then CTRL-U = "ddd eee" after which CRL-Z has no effect.
-
2cranioscopical
I know that Undo is problematic. I have not look on my own implementation yet so it's using built-in functionality.
BTW I found one more bug so… do not open empty files untill next release (just wait few minutes).
-
1.0.21 release with quick fix for empty files opening bug.
I will stop "mad rush" for a while until I clean up code a little bit and finish parsing engine.
I don't think it will take long because only few standard tags left and, of course, custom ones.
-
I will stop "mad rush" for a while
-fenixproductions
That makes sense, thanks for all that you've done!
-
1.0.22 is out!
I've finished implementing alternative parsing engine (to be chosen in Options -> Appearance tab). It should generate preview quicker than before.
I have also fixed problem with parsing some custom tags (plain text type). In addition: I had realised that changing custom type was not reflected on buttons list right away so I corrected this too.
For now few things left to make BBCeditor perfect:
- better Undo/Redo ;
- parsing in separate thread;
- code cleanup;
I hope to make it without any glitches :)
-
1.0.22 is out!-fenixproductions
Hi, that's 8) and I can be >:( instead of :( :Thmbsup::Thmbsup:
-
2cranioscopical
"Angry instead of sad" and that's OK?
I hope you're just playing with smileys :)
-
2cranioscopical
"Angry instead of sad" and that's OK?
-fenixproductions
Well, I meant >:( instead of >:(
-
keyboard shortcuts would be good, but :up:
-
2urlwolf
Do you mean shortcuts for Help -> Shortcuts or custom buttons? Or maybe both?
-
oh there are shortcuts... never mind. I missed them. Thanks.
One thing: when I try to add an img, it dies with an unhandled exception. Did anyone have trouble with this?
-
One thing: when I try to add an img, it dies with an unhandled exception. Did anyone have trouble with this?-urlwolf
Crap! You are right but only for new files. Easy to fix.
BTW You can drag'n'drop images into editor until next release.
-
1.0.23 is ready!
I've fixed bug reported by urlwolf and moved parsing to separate thread. Code area should be more responsive while working with big files.
I have also an idea for new, nice feature so cross your fingers :)
"teaser"
[ You are not allowed to view attachments ]
-
Keep it up fenix! :up:
-
2cranioscopical
Teasing more…
I've took a look where to start cleaning up my code and I saw something really disturbing BUT I fixed it and I am completely surprised by results:
- previously - opening 1MB file took up to few minutes;
- now - 4MB file opens in less than 10 seconds (and 20 more for preview to be ready)!
I can't believe how could I make so simple mistake I found :(
-
I can't believe how could I make so simple mistake I found :(
-fenixproductions
So long as a person who has made mistakes … honestly and sincerely wishes to be cured and to mend his ways, we should welcome him and cure his sickness so that he can become a good comrade.
Mao Zedong ;)
-
1.0.24 is out!
I am still cleaning up my code but few nice changes come with this release:
- new OpenFileDialog with preview feature;
- fix for files loading method (speeds up processing time);
I hope BBCeditor will be even better than before :)
-
Nice job with the preview!
Sorry to pour cold water on you but a couple of things with the new version...
1)
On each new run of BBCed
Click on 'file open' icon
Click on a .bbc file (see preview :up:)
Click cancel -- unhandled exception
2)
The open file dialogue doesn't seem to remember its size.
-
1)
On each new run of BBCed
Click on 'file open' icon
Click on a .bbc file (see preview :up:)
Click cancel -- unhandled exception
-cranioscopical
I can't reproduce it here.
Can you try debug version (download and unpack to BBCeditor directory)?
http://fenixproductions.dcmembers.com/bbc/debug.zip
Please, post error dialogue info (Ctrl+C and Ctrl+V should work IMHO).
2)
The open file dialogue doesn't seem to remember its size.
-cranioscopical
Not "yet" :) I need to get more familiar with this control.
-
I can't get the debug version to run... yet
"BBCeditor has encountered a problem and needs to close. We are sorry..."
-
2cranioscopical
Please, re-download standard version and check again. It should be fixed now.
No version change since it is one-liner.
P.S. Probably debug.zip contains not all needed files. I will check it if there's still a problem after silent update.
-
2cranioscopical
Please, re-download standard version and check again. It should be fixed now.
No version change since it is one-liner.
P.S. Probably debug.zip contains not all needed files. I will check it if there's still a problem after silent update.
-fenixproductions
Still occurs :(
-
Still occurs :(-cranioscopical
With second update too?
-
1.0.25 is out!
I've added small tool for changing style.css files for Preview. It is possible to have different styles in "styles" folder and switch between them.
I have also changed shortcut for Replace from Ctrl+R to Ctrl+G. Old one is now used by Redo feature.
I've tried to implement Undo/Redo properly but it still needs polishing. If anyone wants to use it, just add following line into [General] section of config.ini file:
UseUndo=1
By default 20 steps should be handled but it can be changed with:
MaxUndo=XX
where XX is wanted number.
I have also changed a little bit the part of code responsible for parsing BB into HTML. This way more elements can be customized with styles.css (including links, quotes, etc.). If your preview looks strange, please, make sure that you have all needed classes defined (especially lists)!
New CSS classes
- Code header: .small-code
- Quote header: .small-quote
- Links: .url, .email, .ftp
- Images: .image
- Alignment: .align-left, .align-right, .align-center
- Lists: list-decimal, list-lower-alpha, list-upper-alpha, list-upper-roman, list-lower-roman
-
1.0.26 is out!
I've fixed error on startup with files (i.e. double click on file associated with BBCeditor). I have also added multiple lines support for simple text type of custom buttons.
And finally, I've created little better icon for EXE file.
Icons
[ You are not allowed to view attachments ]
-
I've fixed error on startup with files (i.e. double click on file associated with BBCeditor). I have also added multiple lines support for simple text type of custom buttons..
Thanks for all that! :up::up::up:
-
1.0.27 is out with small Replace fix.
-
:up: :up:
-
WOW, You really have been on fire since my last look at this. BBCeditor has proven somewhat useful to me since March, but I now see that you have had what, 15+ changes since? :o
I don't use it nearly as much anymore since I was force-moved from my job to another position (not a wholly bad thing in this case, but not requested either). I still can see the occasional use for it though, like here on DC... :P
Downloading newest version.....
-
2steeladept
You've definitely missed most important changes: big speed improvement, alternative parsing engine, snippets and own Open/Save dialogues. There are also Find/Replace and Undo/Redo (set in INI) features.
-
Thanks for this. I've been looking quite a while for a replacement for FASS and finally saw this in this thread:
https://www.donationcoder.com/forum/index.php?topic=5773.msg176083;topicseen#msg176083
Could you explain how to use it though? I don't know what to do with the interface except know that the left side is text typable while the right side is not and when you click save, you actually have to save it as a file.
Edit:
Ok. I finally spotted "Help" at the far right side and the refresh button.
Is there a way to make the shortcuts act like traditional WYSIWYG editor? I mean that is when I click ctrl+B for example it would put the type location immediately between --b and /b as opposed to after [/b]
Also maybe a more noticeable copy text and pre-included templates for making the previews mimic traditional forums? Also do you have plans on extending the program for imageboards and such?
-
2Paul Keith
I am sorry, I don't have a much time for coding these days but I will see what I can do. Last thing I did with BBCeditor was general code clean up only (not released).
I can't promise new version very quick but I'll try to do something with it.
Is there a way to make the shortcuts act like traditional WYSIWYG editor? I mean that is when I click ctrl+B for example it would put the type location immediately between --b and /b as opposed to after [/b]
-Paul Keith
It should not be a problem to make an option for that.
Also maybe a more noticeable copy text and pre-included templates for making the previews mimic traditional forums?-Paul Keith
There is "Choose style" option in "Tools" menu which checks CSS files from "styles" folder. If something exist there, BBCeditor will show it to you allowing to change preview panel template. Unfortunately, I did not have a time to create valid style sheets yet. Althoguh, you can make it by yourself ;)
Also do you have plans on extending the program for imageboards and such?
-Paul Keith
I am not familiar with them. Care to elaborate what is missing / you'd like to see?
-
Thanks for the quick reply. No rush, as far as I know, yours is the only one actually being developed.
Unfortunately I don't know CSS which is why I asked.
With regards to imageboards, there are no BBCodes. At least not the one I used.
Rather it is more like notepad but with some quirky ways to mimic traditional forums. Still, even this, I am not sure whether it's software exclusive. (I actually don't post much in these boards, just thought it was a good idea to diversify.)
The first issue is a bit of a minor one. Most of these boards are for uploading a pic alongside a post so it would be nice to see how an image would be previewed by it although this is a very minor one since most image posters tend to not write any long post.
The quoting and linking system though require the symbols >> and > respectively in front of the text. I forgot which one is which.
Anyways, from what I've seen from a few of these boards, the >> arrow is used for quotes but it's troublesome. First you have to always press the quote button besides the actual poster or at least know the post serial no. of said poster. Finally after you've done this, you can't see the actual quote. Only by posting will you see the quoted post via the number turning into a drop down link that shows the post. I'm not sure if there's an efficient way to preview this but it would be nice to do so.
The > post on the other hand turns the paragraph after it, green. Thus this is an alternative for quoting in those boards.
Unfortunately what this also means is that often times, quoting multiple paragraphs result into only the first paragraph being shown green. Putting multiple > wouldn't be hard but it would be nice if there's a way to highlight and do this as well as mass-remove this.
Those are the only 3 options I know of outside of a permalink/link checker if the thread is up or down that could benefit these boards.
-
1.0.28 is out!
I've added "Inline Mode" which puts cursor within inserted tags. It can be set on "General" tab in Settings. If it's not working for some tags, please, write about it. I might miss a few.
I have also fixed few other bugs (i.e. empty lists were showing asterisks with alternative engine but not with standard one) and cleaned-up code a little bit (FxCop was killing me ;).
-
1.0.29 is out with quick fix for list tag problem.
Thanks to cranioscopical for finding it.
-
Thanks, fenix'! That was quick.
Also, the inline mode is a good addition to BBCed :up:
-
I felt compelled to create an account here just to thank you for creating this useful piece of software -- I've been looking extensively for something like it. Used in conjunction with the Firefox addon It's All Text makes it very very handy indeed. :D
-
[...] to thank you for creating this useful piece of software [...]-shirty
+1 :)
-
2shirty
Thank you very much.
Unfortunately, I have no time and nerves for coding recently (at least not for free one) ;( Stress takes its toll and I spent shamelessly all free time on L4D2 at Steam. I've wanted to work at FenixContacts and add some surprise to BBCeditor but real life appeared to be more important…
-
Whoooaa this is GREAT! Fenix, your BBCeditor is the BEST :Thmbsup:
It works flawlessly with the Firefox Extension "It's All Text" -- and what's more it is fully dictation enabled (e.g. with NaturallySpeaking).
For me this means that I have the forum (e.g. DonationCoder) open on the left monitor, BBCeditor on the right monitor, and am happily dictating away into my forum post!
Pressing Ctrl-S in BBCeditor instantly updates the forum's text box in the browser -- such that I can easily see what I have dictated, WYSIWYG directly in the forum, just by hitting the forum's Preview button.
Thank you very much for this marvellous piece of software!
Cheers David
-
I have used this program before and just now installed it on my 64-bit Windows 7 computer. It appears not to work as there is nothing on the right side.
[ You are not allowed to view attachments ]
-
You might see if going to Settings then Appearance tab and checking the Automatic preview options and if that don't work...
You might also try going to Settings then General tab and checking Use Inline Mode.
Either one of those worked for me in a test and I am on win7 64bit also.
-
You might see if going to Settings then Appearance tab and checking the Automatic preview options and if that don't work...
-hamradio
Doh! I didn't realize I needed to hit F5. It's been a while since I have used this program. That did the trick.
-
Hi, I'm french user of BBCeditor. It's a very great tool 8)
Is it possible to use French Dic ? How can i do ?
-
@PapyRef
Here you are.
I will also add instructions how to build one to first post, as soon as I find more free time.
-
Hi forum & Fenix,
for some reason I haven't used BBCEditor for a while and now wanted to switch to it for good in order to write (actually dictate) all my forum posts.
Writing and dictating works great, as does formatting and WYSIWYG preview.
However, the buttons for image and link insertion don't seem to work the way I expected...
Usually, in order to create a link in a post, I would copy the link's URL into the clipboard, then type the link's name or description into the posting's text, select that link name/description, hit the "Link" button and be presented with a dialog input box where I can insert the link's URL -- in other words, exactly the way it goes when inserting a link e.g with this forum's (DC) post editor:
(http://666kb.com/i/bt8ynful1ka2ni5ej.png)
However, BBCeditor doesn't seem to do that. It only enters [ url][/url ] tags around the selection when I press the Link button. Thus, there doesn't seem to be an easy way to create named links in BBCeditor?
Additionally, the "Image" Button doesn't seem to work at all? Usually, in order to enter an image in a forum's post, I'd expect to be able to copy the image's URL into the clipboard, then press the "Image" button in the editor, then I'd be presented with a dialog input box where I can insert the image's URL and hit Enter.
Alternatively, I'd simply paste the image URL directly into the text, select it, hit the "Image" button and would expect the (pasted) image URL to get surrounded by [ img] tags.
This however doesn't seem to be the case in BBCeditor.
I don't know, maybe I am missing out on something?
-- Therefore, thanks heaps already for any clue regarding easier insertion of images and (named) links into BBCode forum posts using BBCeditor,
Cheers David.P
-
@David.P
If you have some text selected and hit URL button it will surround the text with [url] tags BUT it behaves differently when there is no selection:
1. do not select any text and leave the caret in proper place,
2. hit URL button then,
3. Define URL window will appear, where you can define your link's description.
I will try to find a time to take a look on images issue.
P.S. Sometimes I think that I should take a look on BBC profiles because there are few different "standards" for tagging... but I am still too lazy to do so ;)
-
1. do not select any text and leave the caret in proper place,
2. hit URL button then,
3. Define URL window will appear, where you can define your link's description.-fenixproductions
I see! This works as expected. Thanks!
I will try to find a time to take a look on images issue.
Yes please... I just can't seem to find out how image insertion works at present... :-(
Regards David
-
Working with BBceditor with another forum.
I'm quoting and the quotes use capital letters for "url" in links.
This doesnt show properly in bbceditor
e.g.
this:
CPU:[url=http://www1.hardwareversand.de/articledetail.jsp?aid=41226&agid=1617&pvid=4mxzu5fiw_gq5bjwzb&ref=13&lb]Intel Core i5 2400[/url]
shows as expected thus:
CPU:Intel Core i5 2400 (http://www1.hardwareversand.de/articledetail.jsp?aid=41226&agid=1617&pvid=4mxzu5fiw_gq5bjwzb&ref=13&lb)
but this
CPU:[URL=http://www1.hardwareversand.de/articledetail.jsp?aid=41226&agid=1617&pvid=4mxzu5fiw_gq5bjwzb&ref=13&lb]Intel Core i5 2400[/URL]
remains the same
CPU:[URL=http://www1.hardwareversand.de/articledetail.jsp?aid=41226&agid=1617&pvid=4mxzu5fiw_gq5bjwzb&ref=13&lb]Intel Core i5 2400[/URL]
it's no big deal to me as I know it will work in the forum but just thought I'd let you know in case it's an easy fix ;)
-
Darn! I completely forgot about David.P post. Real live sucks :(
@tomos
This should be very easy to fix (matter of regexp) but it reminds me how inconsistent BB code can be.
There are various flavours of it and no named schemes for them (i.e. there are [list] or [ul] tags, [*] or [li], etc.) and that makes it hard to follow each BB system nicely.
-
I am one of those people who really should use BBCeditor before posting..., but a couple of 'items' have so far kept me from doing so.
1) I cannot see any difference in your program between "Use inline mode" or not, when I want to insert a photo. So my request is for an option to insert picture in the same way we do here at DC: "[(attachimg=#)]" only, instead of right away asking me to navigate to the file. It will make the program more useful here at DonationCoder's forum; "[(img]C:\FotoTemp\Curt'sPicture.jpg[/img)]" is not helpful here.
2) The other thing is that I really would like your program to both auto-save and auto-close-to-tray / minimize when I hit Escape, please. Preferably compared with a hotkey to open with the same file already open in the same position.
Doable?
Modified:
Can you simply copy these options:
[ You are not allowed to view attachments ]
:tellme:
-
BBCeditor 1.1 is ready for testing.
All small changes done according to latest comments.
I will keep it in WIP state for some time waiting for opinions.
Download (http://fenixproductions.dcmembers.com/bbc/bbceditor_wip.zip)
From now on I am not willing to implement any more changes to basic parser (alternative one is based on RegExp and is easier to handle).
@David.P
Images functionality changed a little bit.
@tomos
This bug is related to upper case tags. It is fixed for "alternative parser".
@Curt
1. Inline mode can be seen when inserting tags: difference lies in cursor placement after toolbars button click it either stays within tags or is put after. To see it just select some text, push bold and observe.
Oh! And I've added DC images functionality.
2. Minimizing play can now be set via config.ini editing.
[General]
MinimizeOnEscape=0
MinimizeSave=0
MinimizeToTray=0
- MinimizeOnEscape - Escape key minimizes application,
- MinimizeSave - saves file changes but works only if file name already exists,
- MinimizeToTray - just as it says.
Change 0 to 1 when you need it.
-
-marvelous!
I have no further requests. THANK YOU! :Thmbsup:
---
Thanks also for explaining 'inline mode'.
Edited:
FYI: the file type abbreviation .pdb is also being used by other programs. Windows has marked my copy as a "STDUviewer PDB File", but "of course" STDUviewer cannot open it.
-
@Curt
PDB are debug files. I pack them with applications which are in beta stage because - in case of crash - error message box can give more details than usual "Application crashed". It helps with bugs fixing but is not needed for release.
-
BBCeditor 1.1 is ready for testing.
-fenixproductions
Thanks fenix!
-
fenix,
1.1 doesn't want to run on my system.
The original version still runs fine.
Win 7-64.
Do you want the .pdb?
-
@cranioscopical
Try this one:
http://fenixproductions.dcmembers.com/bbc/bbceditor_v32_wip.zip
Or check setting UseAltOpenDlg=0 in [General] section of config.ini.
Does BBCeditor give any error message?
-
@cranioscopical
Try this one:
http://fenixproductions.dcmembers.com/bbc/bbceditor_v32_wip.zip
Or check setting UseAltOpenDlg=0 in [General] section of config.ini.
Does BBCeditor give any error message?
-fenixproductions
I tried the new one, bbceditor_v32_wip.zip, but it doesn't start.
UseAltOpenDlg=0 is set at exactly that (I tried =1 also, just in case).
No error messages. Windows 7 simply says "BBCeditor has stopped working." There's no message from BBCed itself.
The previous version still works just fine.
-
my copy of the initial 1.1 is running fine on my 64-bit Win 7.
-
my copy of the initial 1.1 is running fine on my 64-bit Win 7.
-Curt
Thanks for that info Curt.
Nothing doing on my system, even in safe mode.
-
@cranioscopical
Maybe framework version has something to do with it?
I've noticed additional file on dcmembers server with name containing net3.5. I don't remember this one but something tells me it was made for you :)
So… I've recompiled the newest version to target .NET 3.5 (instead of 2.0):
http://fenixproductions.dcmembers.com/bbc/bbceditor_n35_wip.zip
Please check.
-
So… I've recompiled the newest version to target .NET 3.5 (instead of 2.0):
http://fenixproductions.dcmembers.com/bbc/bbceditor_n35_wip.zip
Please check.
-fenixproductions
Very kind of you but, alas, not working.
Still running well with 1.0.29.0.
-
@fenix@
FWIW, the latest .net stuff I have is 4.0.30319
-
@cranioscopical
I must admit I don't know what can be wrong but you may try few things (to filter plausible causes out).
I am sorry for just guessing but:
1. backup your working version - just to have the point of return :) ,
2. try new version without config.ini - some option is bad,
3. try to overwrite old EXE with new one (only EXE) - linked DLL issue,
4. try to run BBCeditor from fully accessible path (not Program Files) or run it as admin,
5. check your anti-virus policy - maybe you've added old version there,
6. try to reinstall framework - last resort.
-
@fenix@
Thanks for the thoughts. Some I've already tried.
There's no onus on you to try to fix anything and I appreciate the trouble that you have taken already. :Thmbsup:
-
Firstly I want to thank you @fenixproductions for this excellent application and the care you take to respond and develop it.
There's been nothing on this thread since April so I don't know if you are having a break but I just want to say that I have exactly the same problem as @cranioscopical: Win 7 -64; .net 4; and have tried all the solutions you have already proposed. Version BBCeditor 1.0.30 works perfectly but no joy with 1.1
It may help to see the following error message;
Description:
Stopped working
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: bbceditor.exe
Problem Signature 02: 1.1.0.0
Problem Signature 03: 4f777ecc
Problem Signature 04: BBCeditor
Problem Signature 05: 1.1.0.0
Problem Signature 06: 4f777ecc
Problem Signature 07: bb
Problem Signature 08: 26
Problem Signature 09: System.NullReferenceException
Many thanks and regards
-
@paulhypno, cranioscopical
In next 2-3 weeks I will have my laptop replaced with Win7/64bit one. Let's hope I will pin this issue finally down.
-
In next 2-3 weeks I will have my laptop replaced with Win7/64bit one.
-fenixproductions
:Thmbsup:
-
I have rebuilt this version on my new work laptop (Win7x64):
http://fenixproductions.dcmembers.com/bbc/bbc_20120706.zip
Please check.
BTW Dunno what was wrong with it:
Debug and Release versions were OK started from within Visual Studio but w/o - not.
I have rebuilt all components (especially SpellCheck which was not recreated for each version), checked different settings combinations and now it seems to work fine.
Oh! And I even find out one bug with "Minimize to tray" option: after clicking on balloon tooltip BBC couldn't bring to front itself.
-
Thanks
Please check.
-fenixproductions
will do :up:
-
Please check.
-fenixproductions
I hate to tell you, but it won't run on my 7-64 system.
I took all the usual steps to test it (w w/o .ini, compatibility, use old config… etc.).
Thanks very much for trying, though.
-
Please check.
-fenixproductions
Unfortunately it crashes on opening. I didn't do anything with the configuration and I get similar message to last time:
Stopped working
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: bbceditor.exe
Problem Signature 02: 1.1.0.0
Problem Signature 03: 4ff74350
Problem Signature 04: BBCeditor
Problem Signature 05: 1.1.0.0
Problem Signature 06: 4ff74350
Problem Signature 07: 2d
Problem Signature 08: 24
Problem Signature 09: System.NullReferenceException
Separate Issue: Can I use this post to ask about the version 1.0.30 that is working?
I may be missing something but:
1. How can I post an image's web link? When I click on the image icon I only have a chance to post a local image that is on my computer ('Path'), not a web location. "[ img]C:\Users\Paul\Downloads\123.jpg[/img ]" instead of "[ img]hxxp://anything.com/123.jpg[/img ]" Obviously posting the local address into a web post won't show the image on the web so I'm having to insert the code [img] etc manually. Have I got this wrong?
2. BBCeditor produces a nice layout and is easy to use but I have to 'Select All' then copy to paste into a web posting - is there a button that will do that for me?
Many thanks and regards
-
This post was made with BBCeditor 20120706, situated in Program Files, not in "...(x86)",
-he did say it was created for 64-bits. Also, I did not import any settings.
:up:
-
This post was made with BBCeditor 20120706, situated in Program Files, not in "...(x86)",
-he did say it was created for 64-bits. Also, I did not import any settings.
:up:
-Curt
Now I'm a bit lost - surely it doesn't install, it's a 'portable application' isn't it? I just unzipped the file and ran it from the folder, which could be placed anywhere couldn't it?
-
-yes, I first tested it in "Downloads", and only then moved it to Program Files, to type the post.
-
Doesn't work unfortunately (Win7 64bit). Here's the error details:
Beschreibung: Stopped working
Problemsignatur:
Problemereignisname: CLR20r3
Problemsignatur 01: bbceditor.exe
Problemsignatur 02: 1.1.0.0
Problemsignatur 03: 4ff74350
Problemsignatur 04: BBCeditor
Problemsignatur 05: 1.1.0.0
Problemsignatur 06: 4ff74350
Problemsignatur 07: 2d
Problemsignatur 08: 24
Problemsignatur 09: System.NullReferenceException
Betriebsystemversion: 6.1.7601.2.1.0.256.48
Gebietsschema-ID: 1031
-
It was working correctly in any directory for me.
Unfortunately, it seems that this bug is not meant to be fixed:
second day of having new laptop and I've got blue screen resulting with crashed SSD drive. Now my "brand new ThinkPad" does not start at all and I will need to wait for next few weeks for new drive :(
Luckily for me: I haven't remove anything from old one yet.
Sad thing is: I've spent whole day to get an environment I like.
Spoiler
[ You are not allowed to view attachments ]
It's a laptop! There is no CABLE!
-
Check your BIOS boot settings. "PXE" means the laptop thinks it is supposed to boot from LAN (thus the mention of "Cable").
Cheers David.P
-
Check your BIOS boot settings. "PXE" means the laptop thinks it is supposed to boot from LAN (thus the mention of "Cable").-David.P
I've already checked all three available booting options from Temporary Boot Menu, checked few possibilities for boot order from BIOS, re-inserted SSD couple of times (Lenovo support forum answer). I still need to check this drive from some LiveCD.
Strange thing is: Temporary Boot Menu shows drive name but when I try to boot from it screen goes black and returns to menu. I would say something happened with MBR but dunno if SSD has it.
But all of this this is for other topic or… company tech support. It is corporate device and I shouldn't temper with it after all ;)
@paulhypno
1.0.30 has none of mentioned two features.
-
good luck with the laptop fenix!
FWIW - for whenever you do get back to it:
it (1.1.0.0) works here no problem Win 7 64 bit - I just put it in my portable folder (on the C partition).
-
@tomos
Just a thought: maybe user/admin rights have something to do with BBC error?
@David.P
Last words about laptop:
Ubuntu Live saw only 8MB of unallocated space (GParted Live - the same).
Edited:
Exactly same issue:
http://communities.intel.com/thread/7514
-
@tomos
Just a thought: maybe user/admin rights have something to do with BBC error?-fenixproductions
for the record:
my settings are Admin account with UAC at highest level.
-
I have a problem regarding the addition of a custom bbcode.
In my forum we use a custom bbcode like [docis][/docis] in between these is a unique documentId which is used to embed ISSUU streaming documents.
So for instance the user input is [docis]documentId=120712003955-e4ff9f62ad7b4c62a48dd45527080c3e[/docis] the code parser will convert it into following HTML:
<center><object style="width:420px;height:272px" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param "="" value="http://static.issuu.com/webembed/viewers/style1/v2/IssuuReader.swf?mode=mini&backgroundColor=%23222222&documentId=120712003955-e4ff9f62ad7b4c62a48dd45527080c3e" name="movie"><param value="true" name="allowfullscreen"><param value="false" name="menu"><param value="transparent" name="wmode"><embed flashvars="mode=mini&backgroundColor=%23222222&documentId=120712003955-e4ff9f62ad7b4c62a48dd45527080c3e" style="width:420px;height:272px" wmode="transparent" menu="false" allowfullscreen="true" type="application/x-shockwave-flash" src="http://static.issuu.com/webembed/viewers/style1/v2/IssuuReader.swf"></object></center>
So you see the documentId is inserted twice so how can I achieve this using custom button option in BBCeditor
-
@ioncube
Currently it is not possible to do that but I will try to add it over the weekend.
-
thnx for replying,
My machine can't compile the src of bbceditor but I think following changes in the Parser file will result what I seek
#endregion
#region issuu document
//[docis]documentId[/docis]
while (txt.Contains( "[docis]" ))
{
String qtmp = "[docis]";
int st_poz = txt.IndexOf( qtmp, StringComparison.Ordinal );
if (st_poz >= 0)
{
st_poz = st_poz + qtmp.Length;
int end_poz = txt.IndexOf( "[/docis]", st_poz, StringComparison.Ordinal );
if (end_poz > 0)
{
String tmp = txt.Substring( st_poz, end_poz - st_poz );
//txt = txt.Replace( "[docis]" + tmp + "[/docis]", "<docis src=\"" + tmp + "\" />" );
txt = txt.Replace( "[docis]" + tmp + "[/docis]", "<center><object style=\"width:420px;height:272px\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"><param value=\"http://static.issuu.com/webembed/viewers/style1/v2/IssuuReader.swf?mode=mini&backgroundColor=%23222222&"+tmp+" name=\"movie\"><param value=\"true\" name=\"allowfullscreen\"><param value=\"false\" name=\"menu\"><param value=\"transparent\" name=\"wmode\"><embed flashvars=\"mode=mini&backgroundColor=%23222222&"+tmp+" style=\"width:420px;height:272px\" wmode=\"transparent\" menu=\"false\" allowfullscreen=\"true\" type=\"application/x-shockwave-flash\" src=\"http://static.issuu.com/webembed/viewers/style1/v2/IssuuReader.swf\"></object></center>" );
}
else
{
break;
}
}
}
Also justifying text can be achieve via following addition:
txt = txt.Replace( "[justify]", "<p align=\"justify\">" );
txt = txt.Replace( "[/justify]", "</p>" );
if you get some time plz compile your editor with the following Parser.cs file. I will be very grateful to you
http://www.mediafire.com/?h7wg4a29bkuk9c7
-
@ioncube
Thank you for your help but I will make it in different way: by adding Regexp type custom tag.
You will have the possibility to define any bbc string which will be replaced with custom HTML.
This way it should be more flexible and will not require new versions for each new/strange tag.
BTW I would suggest using CSS classes for rendered HTML - thanks to that you'll have more preview skinning options.
-
You will have the possibility to define any bbc string which will be replaced with custom HTML.
-fenixproductions
Sounds good :Thmbsup: :Thmbsup:
I wish I knew why the latest version won't run on my system :(
-
@ioncube
Thank you for your help but I will make it in different way: by adding Regexp type custom tag.
You will have the possibility to define any bbc string which will be replaced with custom HTML.
This way it should be more flexible and will not require new versions for each new/strange tag.
BTW I would suggest using CSS classes for rendered HTML - thanks to that you'll have more preview skinning options.
-fenixproductions
Something like this http://www.phpbb.com/community/viewtopic.php?t=579376 will be a dream come true :Thmbsup:
-
I wish I knew why the latest version won't run on my system :(
-cranioscopical
(x2) So would I :tellme:
-
New version with Regexp tags added - please test:
http://fenixproductions.dcmembers.com/bbc/BBCeditor1133.zip
-
New version with Regexp tags added - please test:
http://fenixproductions.dcmembers.com/bbc/BBCeditor1133.zip
-fenixproductions
:( Sadly there is no change. I get the same as before:
Description:
Stopped working
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: bbceditor.exe
Problem Signature 02: 1.1.33.0
Problem Signature 03: 500aee54
Problem Signature 04: BBCeditor
Problem Signature 05: 1.1.33.0
Problem Signature 06: 500aee54
Problem Signature 07: da
Problem Signature 08: 26
Problem Signature 09: System.NullReferenceException
OS Version: 6.1.7601.2.1.0.768.3
Locale ID: 2057
-
@paulhypno
Please download again and check:
http://fenixproductions.dcmembers.com/bbc/BBCeditor1133b.zip
I have added system logging and disabled one option.
In case of problems, please check System Events log (Applications part) and paste error message here in spoiler tag.
-
@paulhypno
Please download again and check:
http://fenixproductions.dcmembers.com/bbc/BBCeditor1133b.zip
I have added system logging and disabled one option.
In case of problems, please check System Events log (Applications part) and paste error message here in spoiler tag.
-fenixproductions
Thanks for your hard work! Is this what you mean? (It's from the report.wer file)
Spoiler
Version=1
EventType=CLR20r3
EventTime=129873747030632834
ReportType=2
Consent=1
ReportIdentifier=5b12ebf2-d36f-11e1-bdf7-d4bed9cb6475
Response.type=4
Sig[0].Name=Problem Signature 01
Sig[0].Value=bbceditor.exe
Sig[1].Name=Problem Signature 02
Sig[1].Value=1.1.33.0
Sig[2].Name=Problem Signature 03
Sig[2].Value=500b070f
Sig[3].Name=Problem Signature 04
Sig[3].Value=System
Sig[4].Name=Problem Signature 05
Sig[4].Value=2.0.0.0
Sig[5].Name=Problem Signature 06
Sig[5].Value=4ef6caea
Sig[6].Name=Problem Signature 07
Sig[6].Value=38bf
Sig[7].Name=Problem Signature 08
Sig[7].Value=116
Sig[8].Name=Problem Signature 09
Sig[8].Value=System.Security.Security
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=6.1.7601.2.1.0.768.3
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=2057
UI[2]=C:\Users\Paul\Downloads\BBCeditor1133b\BBCeditor1133\BBCeditor.exe
UI[3]=BBCeditor has stopped working
UI[4]=Windows can check online for a solution to the problem.
UI[5]=Check online for a solution and close the program
UI[6]=Check online for a solution later and close the program
UI[7]=Close the program
LoadedModule[0]=C:\Users\Paul\Downloads\BBCeditor1133b\BBCeditor1133\BBCeditor.exe
LoadedModule[1]=C:\Windows\SYSTEM32\ntdll.dll
LoadedModule[2]=C:\Windows\SYSTEM32\MSCOREE.DLL
LoadedModule[3]=C:\Windows\system32\KERNEL32.dll
LoadedModule[4]=C:\Windows\system32\KERNELBASE.dll
LoadedModule[5]=C:\Windows\system32\ADVAPI32.dll
LoadedModule[6]=C:\Windows\system32\msvcrt.dll
LoadedModule[7]=C:\Windows\SYSTEM32\sechost.dll
LoadedModule[8]=C:\Windows\system32\RPCRT4.dll
LoadedModule[9]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscoreei.dll
LoadedModule[10]=C:\Windows\system32\SHLWAPI.dll
LoadedModule[11]=C:\Windows\system32\GDI32.dll
LoadedModule[12]=C:\Windows\system32\USER32.dll
LoadedModule[13]=C:\Windows\system32\LPK.dll
LoadedModule[14]=C:\Windows\system32\USP10.dll
LoadedModule[15]=C:\Windows\system32\IMM32.DLL
LoadedModule[16]=C:\Windows\system32\MSCTF.dll
LoadedModule[17]=C:\Windows\Microsoft.NET\Framework64\v2.0.50727\mscorwks.dll
LoadedModule[18]=C:\Windows\WinSxS\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4940_none_88df89932faf0bf6\MSVCR80.dll
LoadedModule[19]=C:\Windows\system32\shell32.dll
LoadedModule[20]=C:\Windows\system32\ole32.dll
LoadedModule[21]=C:\Windows\system32\profapi.dll
LoadedModule[22]=C:\Windows\assembly\NativeImages_v2.0.50727_64\mscorlib\f73f0a9c9a83dcd3ff428be509a7992f\mscorlib.ni.dll
LoadedModule[23]=C:\Windows\system32\CRYPTBASE.dll
LoadedModule[24]=C:\Windows\system32\uxtheme.dll
LoadedModule[25]=C:\Program Files (x86)\Ad Muncher\AM64-32562.dll
LoadedModule[26]=C:\Windows\system32\ws2_32.dll
LoadedModule[27]=C:\Windows\system32\NSI.dll
LoadedModule[28]=C:\Program Files (x86)\Direct Folders\dfh64.dll
LoadedModule[29]=C:\Windows\Microsoft.NET\Framework64\v2.0.50727\mscorjit.dll
LoadedModule[30]=C:\Windows\assembly\NativeImages_v2.0.50727_64\System\c40ec0f4cd203c880298f94c0427dd54\System.ni.dll
LoadedModule[31]=C:\Windows\assembly\NativeImages_v2.0.50727_64\System.Drawing\222eb8aa336953a6b0216db2b0c4770d\System.Drawing.ni.dll
LoadedModule[32]=C:\Windows\assembly\NativeImages_v2.0.50727_64\System.Windows.Forms\dc5bb74eefdbf954cdfb70dd534d5564\System.Windows.Forms.ni.dll
LoadedModule[33]=C:\Windows\system32\dwmapi.dll
LoadedModule[34]=C:\Windows\system32\CRYPTSP.dll
LoadedModule[35]=C:\Windows\system32\rsaenh.dll
LoadedModule[36]=C:\Windows\system32\RpcRtRemote.dll
LoadedModule[37]=C:\Users\Paul\Downloads\BBCeditor1133b\BBCeditor1133\NetSpell.SpellChecker.dll
LoadedModule[38]=C:\Windows\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.17825_none_2b253c8271ec7765\gdiplus.dll
LoadedModule[39]=C:\Windows\system32\RichEd20.DLL
LoadedModule[40]=C:\Windows\system32\version.dll
LoadedModule[41]=C:\Windows\system32\CLBCatQ.DLL
LoadedModule[42]=C:\Windows\system32\OLEAUT32.dll
LoadedModule[43]=C:\Windows\System32\ieframe.dll
LoadedModule[44]=C:\Windows\system32\PSAPI.DLL
LoadedModule[45]=C:\Windows\System32\OLEACC.dll
LoadedModule[46]=C:\Windows\system32\iertutil.dll
LoadedModule[47]=C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\comctl32.dll
LoadedModule[48]=C:\Windows\system32\SXS.DLL
LoadedModule[49]=C:\Windows\system32\WindowsCodecs.dll
LoadedModule[50]=C:\Windows\system32\apphelp.dll
FriendlyEventName=Stopped working
ConsentKey=CLR20r3
AppName=BBCeditor
AppPath=C:\Users\Paul\Downloads\BBCeditor1133b\BBCeditor1133\BBCeditor.exe
ReportDescription=Stopped working
-
@paulhypno
I rather meant to look here:
http://www.techrepublic.com/blog/window-on-windows/use-windows-7-event-viewer-to-track-down-issues-that-cause-slower-boot-times/3253
-
Hi fenix!
This one (1133b) is different. Instead of refusing to start at all it runs but appears to do nothing more (see log).
Thanks for working on this :Thmbsup:
1133b
Exception: Object reference not set to an instance of an object.
Stack: at BBCeditor.Form1.Form1_Resize(Object sender, EventArgs e) in D:\code\Projects2010\BBCeditor\BBCeditor\Form1.cs:line 56
at System.Windows.Forms.Control.OnResize(EventArgs e)
at System.Windows.Forms.Form.OnResize(EventArgs e)
at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height)
at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
at System.Windows.Forms.Form.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
at System.Windows.Forms.Control.ScaleControl(SizeF factor, BoundsSpecified specified)
at System.Windows.Forms.ScrollableControl.ScaleControl(SizeF factor, BoundsSpecified specified)
at System.Windows.Forms.Form.ScaleControl(SizeF factor, BoundsSpecified specified)
at System.Windows.Forms.Control.ScaleControl(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
at System.Windows.Forms.ContainerControl.Scale(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
at System.Windows.Forms.ContainerControl.PerformAutoScale(Boolean includedBounds, Boolean excludedBounds)
at System.Windows.Forms.ContainerControl.OnLayoutResuming(Boolean performLayout)
at System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
at BBCeditor.Form1.InitializeComponent() in D:\code\Projects2010\BBCeditor\BBCeditor\Form1.Designer.cs:line 1595
at BBCeditor.Form1..ctor() in D:\code\Projects2010\BBCeditor\BBCeditor\Form1.cs:line 43
at BBCeditor.Program.Main() in D:\code\Projects2010\BBCeditor\BBCeditor\Program.cs:line 21
-
@cranioscopical
Please re-download little update:
http://fenixproductions.dcmembers.com/bbc/BBCeditor1133c.zip
Except standard error message please take a look at system event log too.
-
@cranioscopical
Please re-download little update:
http://fenixproductions.dcmembers.com/bbc/BBCeditor1133c.zip
Except standard error message please take a look at system event log too.
-fenixproductions
(https://www.donationcoder.com/forum/esmileys/gen3/5Large/krag.gif)
Hooray, hooray!
This reply is written with 1133c!!!
Well done, and thank you.
(https://www.donationcoder.com/forum/esmileys/gen3/5Large/krag.gif)
-
(https://www.donationcoder.com/forum/esmileys/gen3/5Large/krag.gif)
Hooray, hooray!
...
Well done, and thank you.
(https://www.donationcoder.com/forum/esmileys/gen3/5Large/krag.gif)
-cranioscopical
I second that!! :beerchug: All working, Brilliant :Thmbsup:
-
It appears this was not my bug at all.
Little more info:
http://bytes.com/topic/c-sharp/answers/580423-object-ref-not-set-resizing-panel
-
@fenixproductions
sir, can you provide a simple example of how to use your new regexp tags.
e,g plz show me what I have to write in 'Expression' & 'Replacement' such that I achieve following BBCode replacement
BBcode: [yell]{sometext}[/yell]
HTML:<div style="background:yellow">{sometext}</div>
thanx
-
a feature request
I'll admit to not following this thread closely so this may have already been requested, but here goes anyway
I would like the option to add a link (toolbar button?) to an external application, eg mobysaurus and/or wordweb.
no biggy, but these kind of go hand in hand for me
-
@ioncube
Expression: \[yell](.*?)\[/yell]
Replacement: <div style="background:yellow">$1</div>
I will try to sit down on weekend and provide package with some buttons preconfigured for this feature.
@Target
I will check what I can do.
The problem here is: I am always overthinking things, so now I have not only an idea for starting external application with some parameters BUT to also have WM_MESSAGES support. Darn me ;)
-
Hey fenix — never do things by halves (when you can do them by quarters). :Thmbsup:
-
I will check what I can do.
The problem here is: I am always overthinking things, so now I have not only an idea for starting external application with some parameters BUT to also have WM_MESSAGES support. Darn me ;)
-fenixproductions
hehe, it's not like you had anything else to do though, is it...
-
hehe, it's not like you had anything else to do though, is it...-Target
Yes and no ;)
No - BBCeditor has most of the features you would normally use and I am pretty lazy.
Yes:
- code cleanup (again) - there is a lot of redundant or unwanted code - either from old engine (manual parsing in past, regexp now) or some functions used multiple times (Ctrl+C/V is easier for beginner but re-factoring is important for bigger programs),
- tabs - always useful but multithreading is still problematic for me (preview is generated in separate thread),
- templates - although BBCeditor has snippets it would be nice to implement templates like DC has,
- tags rule sets -there are multiple variations of BB syntax and my tool tries to handle most of them but maybe some should be possible to be switched off (i.e. parse only tags which are valid for DC),
- live editor - I saw on CodeProject HTML edit control which allowed to edit HTML code directly within it; BBCeditor would have the possibility to work in WYSIWYG way;
- direct post -it should be technically possible to send POST message via HTTP to any web address and put your message directly into wanted board,
- BB syntax highlight,
- text operation - sorting, case change, etc.
- Jump lists - since I have Win7 on my work laptop I can always play with that.
-
Feature request...?
I continue to find this software just excellent so am reluctant to suggest this but...I would love to have a prominent 'Copy' button which selects all and copies to clipboard so I can paste into the forum. I know I can 'select all' and copy from the Edit menu so I am really looking at the icing on the cake here :D
-
I did not prepare RegExp examples yet but…
@Target
Test version with external applications added:
http://fenixproductions.dcmembers.com/bbc/BBCeditor1134.zip
@paulhypno
I think Ctrl+A and Ctrl+C are enough for this task.
-
@Target
Test version with external applications added:
http://fenixproductions.dcmembers.com/bbc/BBCeditor1134.zip
I think Ctrl+A and Ctrl+C are enough for this task.
-fenixproductions
looks good :Thmbsup: :Thmbsup:
I note that there are 3(?) buttons on the toolbar that don't have icons - is this an oversight, or part of your dev tools?
-
[/b]
Test version with external applications added:
-fenixproductions
With this version I'm back to it not starting up :(
I'll dig around some and see what comes up.
-
@cranioscopical
I've commented out error checking code in this one. I will add it back later today and we'll see if that helps.
@Target
Oversight for not cleaning all test strings.
-
I like to use BBCeditor in tandem with Text Editor Anywhere. I have one request. Would it be possible to remove items in the Recent Files List that no longer exist? I use CCleaner frequently to clean out temp folders. It's not really important. But it is a bit disconcerting when clicking a file in the list, to get a Ding error dialog.
Thanks for the program. :)
-
@ioncube
Expression: \[yell](.*?)\[/yell]
Replacement: <div style="background:yellow">$1</div>
-fenixproductions
Thank you sir, much appreciated.
What i have noticed to some may be irksome:
For instance you write some text in the editor, then you highlight it & then press say bold command the resulting BBCode automatically will appear like BUT for custom commands using RegEx works otherwise. You write some text in the editor, then you highlight it & then press custom command button the resulting BBCode automatically will appear like [yell](.*?)[/yell]{sometext}
:tellme:
So you have to manually substitute (.*?) with {sometext}
-
1.1.35:
http://fenixproductions.dcmembers.com/bbc/BBCeditor1135.zip
- error logging re-enabled - cranioscopical
- option for clearing non-existing Recent files on startup - MilesAhead
- if some text is selected, clicking on Regexp button uses it inside tags (if there are (.*?) or (\d*?) in expressions) - ioncube
- few Regex buttons samples added - taken from here (http://www.phpbb.com/community/viewtopic.php?t=579376) as ioncube suggested
-
[/b]
- option for clearing non-existng Recent files on startup - MilesAhead
-fenixproductions
Thank you. :)
-
error logging re-enabled - cranioscopical
-fenixproductions
Great, thanks, I'll give it a try :Thmbsup:
-
@fenix
Here's the log entry for 1135…
Thanks for taking the time and trouble to investigate!
log data
Exception: Object reference not set to an instance of an object.
Stack: at BBCeditor.Form1.Form1_Resize(Object sender, EventArgs e) in D:\code\Projects2010\BBCeditor\BBCeditor\Form1.cs:line 56
at System.Windows.Forms.Control.OnResize(EventArgs e)
at System.Windows.Forms.Form.OnResize(EventArgs e)
at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height)
at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
at System.Windows.Forms.Form.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
at System.Windows.Forms.Control.ScaleControl(SizeF factor, BoundsSpecified specified)
at System.Windows.Forms.ScrollableControl.ScaleControl(SizeF factor, BoundsSpecified specified)
at System.Windows.Forms.Form.ScaleControl(SizeF factor, BoundsSpecified specified)
at System.Windows.Forms.Control.ScaleControl(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
at System.Windows.Forms.ContainerControl.Scale(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
at System.Windows.Forms.ContainerControl.PerformAutoScale(Boolean includedBounds, Boolean excludedBounds)
at System.Windows.Forms.ContainerControl.OnLayoutResuming(Boolean performLayout)
at System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
at BBCeditor.Form1.InitializeComponent() in D:\code\Projects2010\BBCeditor\BBCeditor\Form1.Designer.cs:line 1604
at BBCeditor.Form1..ctor() in D:\code\Projects2010\BBCeditor\BBCeditor\Form1.cs:line 43
at BBCeditor.Program.Main() in D:\code\Projects2010\BBCeditor\BBCeditor\Program.cs:line 22
-
@cranioscopical
Try this one:
http://fenixproductions.dcmembers.com/bbc/BBCeditor1135b.zip
If it works I will need to note somewhere down that each work with Designer requires manual code re-arrangement.
-
@cranioscopical
Try this one:
http://fenixproductions.dcmembers.com/bbc/BBCeditor1135b.zip
If it works I will need to note somewhere down that each work with Designer requires manual code re-arrangement.
-fenixproductions
You nailed it! :Thmbsup: :Thmbsup:
Thanks for taking the time.
-
@cranioscopical
It is still the same issue: Designer generated code has one method called before proper object is set. You can be sure that's it if you see:
at System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
at BBCeditor.Form1.InitializeComponent() in D:\code\Projects2010\BBCeditor\BBCeditor\Form1.Designer.cs:line 1604
I had thought one time fix is enough but I was wrong: any work with Designer switches this error back. This is something to teach you being scrupulous ;)
-
This is something to teach you being scrupulous
-fenixproductions
I can't afford to be completely scrupulous, so I suppose I'm scru'd.
Thanks for the extra effort :)
-
[/b]
- option for clearing non-existng Recent files on startup - MilesAhead
-fenixproductions
Thank you. :)
-MilesAhead
Extremely thank you. No I am a happy engineer :-*
By the way being a chemical engineer am not much in scripts stuff. Can you tell me or just give me reference URLs what is the difference b/w (.*?) or (\d*?)
-
@ioncube
Long info:
http://www.regular-expressions.info/tutorial.html
Short:
. - any character
\d - any numeric character
* - zero or more occurrences
? - after them is switch for "non greedy mode"
parenthesis - mark expression group which can be referenced in replacement as $1
-
I really like BBCeditor, but it has been two years without updates, even though in my little square world, an update is needed. How does anyone use (insert) Image? I cannot see where it should be relevant to the post I am typing, that the photo I want to upload along with the post, now is located in [ img ]C:\FotoTemp\12big copy.jpg[ /img ]. Or maybe you all only use BBCeditor anywhere else than here at DC? Or is it a trick to help me remembering which photo goes where, and then I "merely" must remember to clean and re-write the image tags before posting?
:tellme:
-
@Curt
Although I forgot to edit first post, last version is from august 2012 - it is hardly 2 years.
To be honest: I know working with images can be a hassle but I have no idea how to make it better. Any suggestions?
As far as I can see I could improve "DC images" part by adding tags mapping (i.e. attachthumb=X would point to some specific image within post) and maybe an option for exporting whole posts (desired location: copy post images to it, change images names according to some rules).
-
sorry for the sloppy date mistake, and for the sour tone added because I was frustrated with not having been able to fall asleep. :-[
My suggestion would be for you to keep what is already there, and maybe add yet another "img" button, which would insert one of [ attach=# ] [ attachimg=# ] [ attachthumb=# ] [ attachurl=# ] [ attachmini=# ] - the way we have it here at DC. My reason of course being that DonationCoder is where I am using BBCeditor the most.
[ You are not allowed to view attachments ]
:tellme:
-
@Curt
It is working that way in recent version!
It does not map linked image in preview but neither to say:
[ You are not allowed to view attachments ]
-
embarrassing; I never really saw that DC icon! Once I had navigated to the picture file, I would click OK and not think about more. I feel the order is twisted, would it be okay to make them swift position, so "Path" comes last?
-
@fenixproductions
Hi :)
A wish-list item for your consideration.
When modifying text style (italic/bold/underline etc.) check for any immediately preceding style and make tags cumulative.
example:
highlight this then hit italic, then immediately hit bold
currently yields [i]this[b][/b][/i]
would prefer [i][b]this[/b][/i]
-
@Curt
No problem with some improvements.
@cranioscopical
I think that making selection "sticky" would help with your issue. I will take a look on it.
-
One of the situations where I really wanted to use BBCeditor is, when I wanted to do a public test, a "Mini-Reviews by Members", but didn't began because I knew I couldn't finish it in just one browser session. Will you think about making it support minireview template, etcetera, or is that really too much to ask? My point of view is, that we probably never will use BBCeditor for writing up a small post in a hurry, but we (I and people like me) actually need BBCeditor if we want to write up a thorough review or similar.
-
@cranioscopical[/b]
I think that making selection "sticky" would help with your issue. I will take a look on it.
-fenixproductions
Good idea, thanks for your time :Thmbsup:
-
fenix
getting an error with BBCeditor on load - unhandled exception...object reference not set to an instance of an object
it was working fine, then one day it wasn't. I upgraded to the latest, but the issue persists
I can continue through the error and it appears to be working as advertised
running latest version (1.35b?) on W7x32 with .net 4 - error details attached
any idea's
-
@Target
I am sorry to hear that but this is the issue which keeps reappearing on different PCs.
In the past there was some issue with Visual Studio that it insisted on changing some methods order after any update in visual designer (thus there were calls for not yet existing resources).
Changing order back to was usually fixing this issue and last BBC Editor version had this "patch" implemented - I am not able to reproduce it neither on my work laptop nor on my home PC (both win7 x64).
I may try to re-compile latest sources again (with newest VS) to see if this "VS bug" was fixed but I need to find some spare time for that.
-
Thanks Fenix :Thmbsup:
It's no big deal really as it still works, but if it can be fixed then it's worth posting
It's a bit curious actually as it had been working fine, then one day it wasn't :huh:. No change that I know of that should have impacted it, but that's one of the marvels of modern technology eh
FWIW I deleted the existing folder in case of corruption and ran with a copy of the latest but the error persists.
-
The board I post to has a black background. How do I set BBCEditor to preview that way?
If it is CSS code, could you post what that code should be please.
Just a black background is all I need. Thanks.
-
@kraydl
Just put at the top of style.css file:
body {
color:white;
background-color: black;
}
-
Thanks!
-
Hi, i recently came across this awesome bbcode editor, so first off I'd like to say a big thanks :Thmbsup:. This lil piece of soft helps me a lot to write my walls of texts while I'm on the go and also it's interface is cleaner and quicker to preview the output compared to browser use online.
Unfortunately or fortunately nothing is perfect in this world and b/c i do post on different forums certain tags that i use on one forum don't always work on other forums. As a result, i thought using the option to add buttons would allow me to work around that minor issue but so far i haven't been able to do so.
For e.g I'd like to add another spoiler button whereby the bbcode would be:
[spoiler2=random title]your text[/spoiler2] and the output would be,
Grateful if someone could point me to the proper HTML code to use and show me how to update things in the software.
PS:for records, i did try to use the custom tab of the software and place the bbcode tag as well as the HTML code but things didn't work out.
PPS: My knowledge of HTML and CSS are very very basic if not=0 xD
-
Bump
C'mon guys don't let me down :(
-
Hi Stephane. I don't have an answer for you but I appreciated your post and i'll send a message to fenix to see if he might have missed it.
Anyway, welcome to the site! :up:
-
Hi Stephane. I don't have an answer for you but I appreciated your post and i'll send a message to fenix to see if he might have missed it.
Anyway, welcome to the site! :up:
-mouser
Thanks for your reply and warm welcome.
I'll look fwd to your answer to my issue thanks again :D !!!
-
For e.g I'd like to add another spoiler button whereby the bbcode would be:
[spoiler2=random title]your text[/spoiler2] and the output would be,
-Stephane1200
Please check:
1. go to: Tools -> Settings -> Custom buttons
2. click on plus
3. choose Regular Expression
4. as Expression put:
\[spoiler2=(.*?)](.*?)\[/spoiler2]
5. as Replacement put:
<div class="spoiler-box"><div class="spoiler-content"><input value="$1" class="spoiler_button" onclick="var tmp = this.parentElement.getElementsByTagName('div')[0]; if (tmp.style.display != ''){ tmp.style.display = '';}else { tmp.style.display = 'none';}" type="button"><div class="spoiler-content-in" style="display: none;">$2</div></div></div>
6. choose your own icon for Button image and Path
7. click OK
In Edit area you have text which is searched for specific regular expression defined in Expression and – if found – it is replaced with the content of Replacement field.
The basic syntax for any custom tag is:
\[CUSTOM](.*?)\[/CUSTOM]
or:
\[CUSTOM=(.*?)](.*?)\[/CUSTOM]
You reference any (.*?) with dollar sign and proper number like $1 in Replacements field.
For second paranthesis you will use $2 of course.
At the end you may write for Replacement something like:
<div>$1</div>
or:
<div><h2>$1</h2><p>$2</p></div>
This should put a block with title taken from first paranthesis and content – from second.
If you want some look and feel changes you will need to add proper classes to it and define them in style.css file.
For Replacement:
<div class="my-custom"><h2>$1</h2><p>$2</p></div>
you would need to put something in style.css, ex.:
.my-custom {
background-color:yellow;
color:red;
padding:8px;
margin:0;
border:1px solid red;
}
.my-custom h2 {
font-size:16px;
border-bottom:dotted red 1px;
padding:0;
margin:0;
}
.my-custom p {
font-style:italic;
margin-top:2px;
}
And the end result would be:
[ You are not allowed to view attachments ]
-
Thxs a lot Fenix and Mouser, i will work on the above suggested tip and let you know thxs again :3.
Hopefully using the same principle+Google i'll be able to endlessly customize the BBcode editor *feeling motivated*
EDIT:Awesome above tips works like a charm thanks again guys ;) !!!
-
I would like to use a template with BBCeditor
layout:
[IMG]http://<enter text here>[/img]
[B]<enter text here>[/B]
[IMG]http://napros.net/images/description.png[/img]
[URL='http://mechoredirect.com/?<enter text here>'][IMG]http://napros.net/images/demo.png[/img] [/URL]
[IMG]http://napros.net/images/download.png[/img]
<enter text here>
how do I do this so all I have to do is replace <enter text here>
so that when I am setting up my posts for the forum I can use the template to input the information easily.
-
BBCeditor is the best program, thanks for sharing, especially after a few customizations and enabling "refresh when text changes" -IMO it should be enabled by default that alone prevented me from using it for years until I noticed the setting.
I see members here using smileys a lot.
Still, no one mentioned that smileys are not supported in the preview window.
Is there a solution /plans to support it?
-
I see members here using smileys a lot.
Still, no one mentioned that smileys are not supported in the preview window.
Is there a solution /plans to support it?
-selfmodifyingcode
I'm not able to look at my installation at the moment but...
Try looking in Tools/Settings/Custom Buttons.
If I recall it aright, put a folder of smileys in your BBCEditor installation folder (might already be there) and point some custom buttons to the smileys therein.
Smileys certainly do show in the preview pane if you get it right.
HTH
-
Long time no see due to personal reasons but I have noticed that BBCeditor page went down with downloads too.
In case someone may still need it:
http://fenixproductions.pl/files/bbceditor/bbceditor_1135b.zip
http://fenixproductions.pl/files/bbceditor/bbceditor_1135b_src.zip
I will look for page HTML files and try to put it somewhere under fenixproductions.pl…
-
Fenix, there is also http://www.dcmembers.com/fenix/
-
@mouser
I know but still I need to figure this out and – as I am rewriting my CV - it is easier just to handle whole "old stuff" on my own site.
I will try to get it on dcmembers IF time allows.
P.S. At least I have fixed links to Comparer on my site :)
-
Whatever's best for you is fine for us! As long as the files are available for download somewhere :up:
-
@fenixproductions
I came upon BBCeditor (http://fenixproductions.pl/files/bbceditor/index.html) this week, I liked it a lot- open-source, portable, tiny, nice and clean interface, customizable, so I immediately started using it. I really hope it is not abandoned for good. Because BBCeditor really impressed me I decided to review it at The Portable Freeware forum (https://www.portablefreeware.com/forums/viewtopic.php?f=4&t=24212).
If you decide to work on BBCeditor in the future I would like to share several ideas for possible enhancements:
- List toolbar button renamed to Bullet list;
- New toolbar button- Numbered list;
- New toolbar button- Insert date;
- New toolbar button- Insert time;
- New toolbar button- Insert date/time;
- New command - Edit - Selection - sub-menus - UPPERCASE, lowercase, Sentence case, Title Case, iNVERT cASE;
- Undo and Redo available from context menu;
- Option to select text without trailing space;
- Bookmarks- option to add BBC files as bookmarks;
- Enhanced tray- right-click on tray icon- Open and Exit commands;
-
Because BBCeditor really impressed me I decided to review it at The Portable Freeware forum (https://www.portablefreeware.com/forums/viewtopic.php?f=4&t=24212).
-smaragdus
I've been using BBCeditor casually for years and I learned a couple of things from that review.
thanks!
-
:Thmbsup: :Thmbsup: :Thmbsup:
-
I know this hasn't been commented on in a while, but I just found this app and am starting to use it to support some World Anvil content I am writing.
@fenixproductions, any chance you might put the source code for this on Github, so we can branch and create custom editors?
I'd like to see it enhanced so that the bbcode tags are highlighted in a different color from the plain text. That would make it much easier to read and edit. Something simple like change the foreground color of anything appearing between two square brackets to blue, red, etc.
Thanks!
--Andy
-
The sources are in the first post.
-
Long time no see due to personal reasons but I have noticed that BBCeditor page went down with downloads too.
In case someone may still need it:
http://fenixproductions.pl/files/bbceditor/bbceditor_1135b.zip
http://fenixproductions.pl/files/bbceditor/bbceditor_1135b_src.zip
I will look for page HTML files and try to put it somewhere under fenixproductions.pl…
-fenixproductions
I downloaded the source code from the link you provided. This is what I got
[assembly: AssemblyTitle( "BBCeditor" )]
[assembly: AssemblyDescription( "BBCode editor - test build" )]
[assembly: AssemblyConfiguration( "" )]
[assembly: AssemblyCompany( "fenixproductions" )]
[assembly: AssemblyProduct( "BBCeditor" )]
[assembly: AssemblyCopyright( "Copyright © fenixproductions 2011" )]
[assembly: AssemblyTrademark( "" )]
[assembly: AssemblyCulture( "" )]
[assembly: ComVisible( false )]
[assembly: AssemblyVersion( "1.0.30.0" )]
[assembly: AssemblyFileVersion( "1.0.30.0" )]
[assembly: NeutralResourcesLanguageAttribute( "en" )]
(https://i.imgur.com/mbpGgeJ.png)