DonationCoder.com Forum

Other Software => Announce Your Software/Service/Product => Topic started by: fenixproductions on March 25, 2009, 07:07 PM

Title: BBCeditor 1.1.35
Post by: fenixproductions on March 25, 2009, 07:07 PM
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;

Title: Re: BBCeditor
Post by: mouser on March 25, 2009, 07:12 PM
Nice  :Thmbsup:
Title: Re: BBCeditor
Post by: fenixproductions on March 26, 2009, 09:22 AM
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.
Title: Re: BBCeditor
Post by: superboyac on March 26, 2009, 01:41 PM
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.
Title: Re: BBCeditor
Post by: fenixproductions on March 26, 2009, 01:46 PM
2superboyac
This is something I've been planning to add after spell check.
Title: Re: BBCeditor
Post by: fenixproductions on March 26, 2009, 02:36 PM
Small update to see if SpellChecker works correctly. Please test :)

P.S. Only english for now.
Title: Re: BBCeditor
Post by: cranioscopical on March 26, 2009, 04:34 PM
The main feature request that I have is to allow custom tags and associated custom buttons for those tags.
+1
Also, any chance of an option for the buttons to be twice the size?
Title: Re: BBCeditor
Post by: cranioscopical on March 26, 2009, 04:48 PM
Small update to see if SpellChecker works correctly. Please test :)

P.S. Only english for now.
-fenixproductions (March 26, 2009, 02:36 PM)
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. :)
Title: Re: BBCeditor
Post by: fenixproductions on March 26, 2009, 04:56 PM
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.
Title: Re: BBCeditor
Post by: superboyac on March 26, 2009, 05:01 PM
2superboyac
This is something I've been planning to add after spell check.
-fenixproductions (March 26, 2009, 01:46 PM)
Cool!
Title: Re: BBCeditor
Post by: fenixproductions on March 26, 2009, 05:26 PM
One more small update (no version change):
- fix for problem with multiple quotes (found while editing previous post :)
Title: Re: BBCeditor 1.0.3
Post by: fenixproductions on March 28, 2009, 08:29 PM
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.
Title: Re: BBCeditor 1.0.4
Post by: fenixproductions on March 29, 2009, 12:09 AM
1.0.4 is out.

I've fixed lower toolbar images scalling (too much comments in code ;)
Title: Re: BBCeditor 1.0.4
Post by: cranioscopical on March 29, 2009, 09:17 AM
1.0.4 is out.

I've fixed lower toolbar images scalling (too much comments in code ;)
-fenixproductions (March 29, 2009, 12:09 AM)

Thanks for fixing the scaling, that works nicely now!  :up:
Title: Re: BBCeditor 1.0.4
Post by: steeladept on April 01, 2009, 08:43 PM
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.
Title: Re: BBCeditor 1.0.4
Post by: fenixproductions on April 02, 2009, 07:22 AM
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?
Title: Re: BBCeditor 1.0.5
Post by: fenixproductions on April 03, 2009, 11:03 AM
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.
Title: Re: BBCeditor 1.0.5
Post by: cranioscopical on April 03, 2009, 04:59 PM
Is the table bit right?

with a 3 x 3 I get:
[ You are not allowed to view attachments ]
 
Title: Re: BBCeditor 1.0.5
Post by: fenixproductions on April 03, 2009, 06:11 PM
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").
Title: Re: BBCeditor 1.0.5
Post by: fenixproductions on April 03, 2009, 06:23 PM
1.0.6 is out!

Fixed: only one "th" tag was added for many columns.

ToDo: better table tag parsing.
Title: Re: BBCeditor 1.0.5
Post by: cranioscopical on April 03, 2009, 06:53 PM
I see you've got only one header here so first column width is set according to it:
-fenixproductions (April 03, 2009, 06:11 PM)

 :-[  Whenever there's a point I have  >75% chance of missing it.

Thanks for .6
Title: Re: BBCeditor 1.0.6
Post by: fenixproductions on April 03, 2009, 07:29 PM
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:
Code: CSS [Select]
  1. table
  2. {
  3. border: 1px dotted rgb(90,90,90);
  4. }
  5.  
  6. td
  7. {
  8. border: 1px dotted rgb(255,0,0);
  9. padding:4px;
  10. }
  11.  
  12. th
  13. {
  14. padding:4px;
  15. border: 1px dotted rgb(0,0,255);
  16. background-color: rgb(255,255,200);
  17. }

P.S. And I found another bug for tomorrow: empty cells are not visible :(
Title: Re: BBCeditor 1.0.7
Post by: fenixproductions on April 05, 2009, 04:34 PM
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.
Title: Re: BBCeditor 1.0.7
Post by: cranioscopical on April 05, 2009, 06:20 PM
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.
Wellthanksforthat

And now, for the common-sensely challenged, how about a robust 'undo' ?
Spoiler
(With history?)

Title: Re: BBCeditor 1.0.7
Post by: fenixproductions on April 05, 2009, 06:55 PM
And now, for the common-sensely challenged, how about a robust 'undo' ?
-cranioscopical (April 05, 2009, 06:20 PM)
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?
Title: Re: BBCeditor 1.0.7
Post by: cranioscopical on April 05, 2009, 07:27 PM
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.
Title: Re: BBCeditor 1.0.7
Post by: fenixproductions on April 05, 2009, 07:49 PM
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 :)
Title: Re: BBCeditor 1.0.8
Post by: fenixproductions on April 07, 2009, 10:36 AM
1.0.8 is out

I've fixed freezing for empty table tags.
Title: Re: BBCeditor 1.0.8
Post by: cranioscopical on April 07, 2009, 12:07 PM
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 ]
Title: Re: BBCeditor 1.0.8
Post by: fenixproductions on April 07, 2009, 12:44 PM
2cranioscopical
I'll add it for next release.
Title: Re: BBCeditor 1.0.8
Post by: fenixproductions on April 08, 2009, 05:20 PM
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.
Title: Re: BBCeditor 1.0.10
Post by: fenixproductions on April 12, 2009, 10:39 AM
1.0.10 is out!

I've fixed few problems with opened tags and corrected parsing of url= tag.
Title: Re: BBCeditor 1.0.10
Post by: cranioscopical on April 12, 2009, 12:52 PM
1.0.10 is out!

I've fixed few problems with opened tags and corrected parsing of url= tag.
-fenixproductions (April 12, 2009, 10:39 AM)

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?
Title: Re: BBCeditor 1.0.10
Post by: fenixproductions on April 12, 2009, 02:51 PM
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 (April 12, 2009, 12:52 PM)
Crap... I forgot to do one thing. Wait for an update ;)
Title: Re: BBCeditor 1.0.10
Post by: fenixproductions on April 12, 2009, 03:09 PM
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.
Title: Re: BBCeditor 1.0.10
Post by: cranioscopical on April 12, 2009, 05:43 PM
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 (April 12, 2009, 03:09 PM)

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 ]
Title: Re: BBCeditor 1.0.11
Post by: fenixproductions on April 12, 2009, 06:42 PM
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.
Title: Re: BBCeditor 1.0.11
Post by: cranioscopical on April 12, 2009, 07:26 PM
Can you download and check again?
-fenixproductions (April 12, 2009, 06:42 PM)

You fixed it!  :Thmbsup:

Title: Re: BBCeditor 1.0.11
Post by: fenixproductions on April 12, 2009, 08:33 PM
You fixed it!  :Thmbsup:
-cranioscopical (April 12, 2009, 07:26 PM)
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?
Title: Re: BBCeditor 1.0.11
Post by: cranioscopical on April 12, 2009, 08:54 PM
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.
Title: Re: BBCeditor 1.0.11
Post by: steeladept on April 12, 2009, 09:16 PM
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.
Title: Re: BBCeditor 1.0.11
Post by: fenixproductions on April 12, 2009, 09:48 PM
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).
Title: Re: BBCeditor 1.0.11
Post by: steeladept on April 14, 2009, 09:03 PM
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)?
Title: Re: BBCeditor 1.0.11
Post by: fenixproductions on April 14, 2009, 09:41 PM
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.
Title: Re: BBCeditor 1.0.11
Post by: steeladept on April 18, 2009, 04:03 AM
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.
Title: Re: BBCeditor 1.0.11
Post by: urlwolf on April 18, 2009, 06:22 AM
sounds like a very useful tool! downloading now...
Title: Re: BBCeditor 1.0.12
Post by: fenixproductions on April 20, 2009, 09:04 AM
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;
Title: Re: BBCeditor 1.0.12
Post by: steeladept on April 23, 2009, 04:52 AM
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
Title: Re: BBCeditor 1.0.12
Post by: fenixproductions on April 23, 2009, 06:27 AM
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
Title: Re: BBCeditor 1.0.13
Post by: fenixproductions on May 14, 2009, 02:48 PM
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.
Title: Re: BBCeditor 1.0.13
Post by: fenixproductions on June 01, 2009, 06:38 PM
Link to very simple WWW page (http://fenixproductions.dcmembers.com/bbc/) added to first post :)
Title: Re: BBCeditor 1.0.13
Post by: superboyac on June 01, 2009, 06:56 PM
That's a beautiful page.
Title: Re: BBCeditor 1.0.13
Post by: fenixproductions on June 01, 2009, 07:03 PM
2superboyac

Thank you.
Title: Re: BBCeditor 1.0.13
Post by: J-Mac on June 04, 2009, 01:58 AM
fenix,

Nice app! Wow, I have to check this darn subforum more often!

Thanks!

Jim
Title: Re: BBCeditor 1.0.13
Post by: gladtobegrey on June 04, 2009, 09:43 AM
ctrl-i seems to insert unwanted blanks after the tags, whereas hitting the 'I' button doesn't?
See attached screenshot.  Neat little app, BTW.


Title: Re: BBCeditor 1.0.13
Post by: fenixproductions on June 04, 2009, 10:51 AM
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:
Code: C# [Select]
  1. private void codeTB_KeyDown( object sender, KeyEventArgs e )
  2. {
  3.         ...
  4.         if (e.Control)
  5.         {
  6.                 ...
  7.                 if (e.KeyCode == Keys.I)
  8.                 {
  9.                         e.Handled = true;
  10.                         e.SuppressKeyPress = true;
  11.                         //do what you want here
  12.                 }
  13.         }
  14.         ...
  15. }

Title: Re: BBCeditor 1.0.14
Post by: fenixproductions on June 05, 2009, 12:07 PM
New version 1.0.14 is ready!

I've fixed Ctrl+I problem described in posts above and added Find and Replace dialogues.
Title: Re: BBCeditor 1.0.14
Post by: cranioscopical on June 05, 2009, 03:39 PM
New version 1.0.14 is ready!
-fenixproductions (June 05, 2009, 12:07 PM)
:Thmbsup: Thanks!
Title: Re: BBCeditor 1.0.14
Post by: gladtobegrey on June 05, 2009, 04:16 PM
New version 1.0.14 is ready!

I've fixed Ctrl+I problem ...
-fenixproductions (June 05, 2009, 12:07 PM)
:up: Thanks!
Title: Re: BBCeditor 1.0.14
Post by: cranioscopical on June 05, 2009, 04:30 PM
Hi fenixproductions.
I think I know the answer but have you any way to make text in the spelling checker a larger size?

Title: Re: BBCeditor 1.0.14
Post by: fenixproductions on June 05, 2009, 05:21 PM
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.
Title: Re: BBCeditor 1.0.14
Post by: cranioscopical on June 05, 2009, 06:14 PM
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 (June 05, 2009, 05:21 PM)

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:
Title: Re: BBCeditor 1.0.14
Post by: fenixproductions on June 05, 2009, 06:38 PM
1.0.15 is out.

SpellChecker preview font now follows code editor.

I have also added simple status bar :)
Title: Re: BBCeditor 1.0.14
Post by: cranioscopical on June 05, 2009, 07:11 PM
1.0.15 is out.

SpellChecker preview font now follows code editor.

I have also added simple status bar :)
-fenixproductions (June 05, 2009, 06:38 PM)

Brilliant, thanks!
Some d-credits are heading your way!
Title: Re: BBCeditor 1.0.16
Post by: fenixproductions on June 06, 2009, 12:52 PM
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!
Title: Re: BBCeditor 1.0.16
Post by: cranioscopical on June 06, 2009, 04:08 PM
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?
Title: Re: BBCeditor 1.0.16
Post by: fenixproductions on June 06, 2009, 04:28 PM
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.
Title: Re: BBCeditor 1.0.16
Post by: cranioscopical on June 06, 2009, 05:08 PM
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 (June 06, 2009, 04:28 PM)

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!

Title: Re: BBCeditor 1.0.16
Post by: fenixproductions on June 06, 2009, 05:31 PM
The shortcut: I discovered that CRTL+ALT+SPACE works just fine as things are now
-cranioscopical (June 06, 2009, 05:08 PM)

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.
Title: Re: BBCeditor 1.0.16
Post by: cranioscopical on June 06, 2009, 06:23 PM
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.
Title: Re: BBCeditor 1.0.17
Post by: fenixproductions on June 06, 2009, 07:02 PM
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!
Title: Re: BBCeditor 1.0.17
Post by: cranioscopical on June 06, 2009, 08:00 PM
Nice one!

This is a snippet
over 3 lines with a date
June 6, 2009
Title: Re: BBCeditor 1.0.17
Post by: fenixproductions on June 06, 2009, 08:24 PM
Nice one!

This is a snippet
over 3 lines with a date
June 6, 2009
-cranioscopical (June 06, 2009, 08:00 PM)

 ;D
Title: Re: BBCeditor 1.0.17
Post by: cranioscopical on June 06, 2009, 09:12 PM
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.
Title: Re: BBCeditor 1.0.17
Post by: fenixproductions on June 06, 2009, 09:28 PM
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 :)
Title: Re: BBCeditor 1.0.17
Post by: cranioscopical on June 06, 2009, 10:20 PM
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 (June 06, 2009, 09:28 PM)

Yes. that's all it would need. 

Thanks!
Title: Re: BBCeditor 1.0.17
Post by: J-Mac on June 06, 2009, 10:43 PM
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
Title: Re: BBCeditor 1.0.17
Post by: fenixproductions on June 06, 2009, 11:14 PM
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.
Title: Re: BBCeditor 1.0.17
Post by: J-Mac on June 06, 2009, 11:36 PM
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
Title: Re: BBCeditor 1.0.17
Post by: fenixproductions on June 06, 2009, 11:47 PM
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)…
Title: Re: BBCeditor 1.0.17
Post by: J-Mac on June 07, 2009, 12:12 AM
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 (June 06, 2009, 11:47 PM)

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
Title: Re: BBCeditor 1.0.17
Post by: fenixproductions on June 07, 2009, 12:32 AM
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 ;)
Title: Re: BBCeditor 1.0.17
Post by: J-Mac on June 07, 2009, 02:16 AM
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 (June 07, 2009, 12:32 AM)

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
Title: Re: BBCeditor 1.0.17
Post by: cranioscopical on June 07, 2009, 04:20 PM
Guys,

I believe the technical term for this issue is the hotkey hokey cokey.

 :)
Title: Re: BBCeditor 1.0.18
Post by: fenixproductions on June 07, 2009, 05:00 PM
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 ]
Title: Re: BBCeditor 1.0.18
Post by: cranioscopical on June 07, 2009, 06:34 PM
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?
[ You are not allowed to view attachments ]

Title: Re: BBCeditor 1.0.18
Post by: fenixproductions on June 07, 2009, 06:50 PM
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:
Code: CSS [Select]
  1. body
  2. {
  3. font-size:x-large;
  4. }

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.
Title: Re: BBCeditor 1.0.18
Post by: cranioscopical on June 07, 2009, 07:41 PM
[ You are not allowed to view attachments ]

Sorry for being so dim!
Title: Re: BBCeditor 1.0.18
Post by: fenixproductions on June 07, 2009, 07:51 PM
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.
Title: Re: BBCeditor 1.0.18
Post by: cranioscopical on June 07, 2009, 09:27 PM
@fenix: Thanks, you did say that way back at the beginning but, to be honest, I'd forgotten.
Title: Re: BBCeditor 1.0.18
Post by: fenixproductions on June 07, 2009, 09:37 PM
@fenix: Thanks, you did say that way back at the beginning but, to be honest, I'd forgotten.
-cranioscopical (June 07, 2009, 09:27 PM)
That is why I've used "small reminder" phrase :)
Title: Re: BBCeditor 1.0.18
Post by: J-Mac on June 07, 2009, 10:39 PM
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
Title: Re: BBCeditor 1.0.18
Post by: fenixproductions on June 08, 2009, 03:18 AM
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 :)
Title: Re: BBCeditor 1.0.19
Post by: fenixproductions on June 08, 2009, 12:33 PM
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.
Title: Re: BBCeditor 1.0.19
Post by: cranioscopical on June 08, 2009, 01:44 PM
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!
Title: Re: BBCeditor 1.0.19
Post by: fenixproductions on June 09, 2009, 11:08 AM
2J-Mac
I think I found where "your" bug occurs. It should be solved with next release.
Title: Re: BBCeditor 1.0.20
Post by: fenixproductions on June 09, 2009, 03:50 PM
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.
Title: Re: BBCeditor 1.0.20
Post by: cranioscopical on June 09, 2009, 05:10 PM
@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.

Title: Re: BBCeditor 1.0.20
Post by: fenixproductions on June 09, 2009, 06:03 PM
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).
Title: Re: BBCeditor 1.0.21
Post by: fenixproductions on June 09, 2009, 06:38 PM
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.
Title: Re: BBCeditor 1.0.21
Post by: cranioscopical on June 09, 2009, 07:06 PM
I will stop "mad rush" for a while
-fenixproductions (June 09, 2009, 06:38 PM)
That makes sense, thanks for all that you've done!
Title: Re: BBCeditor 1.0.22
Post by: fenixproductions on June 13, 2009, 10:34 AM
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 :)
Title: Re: BBCeditor 1.0.22
Post by: cranioscopical on June 13, 2009, 01:32 PM
1.0.22 is out!
-fenixproductions (June 13, 2009, 10:34 AM)
Hi, that's 8) and I can be >:( instead of :( :Thmbsup::Thmbsup:
Title: Re: BBCeditor 1.0.22
Post by: fenixproductions on June 13, 2009, 01:44 PM
2cranioscopical
"Angry instead of sad" and that's OK?

I hope you're just playing with smileys :)
Title: Re: BBCeditor 1.0.22
Post by: cranioscopical on June 13, 2009, 02:44 PM
2cranioscopical
"Angry instead of sad" and that's OK?
-fenixproductions (June 13, 2009, 01:44 PM)
Well, I meant  >:( instead of >:(
Title: Re: BBCeditor 1.0.22
Post by: urlwolf on June 13, 2009, 05:59 PM
keyboard shortcuts would be good, but  :up:
Title: Re: BBCeditor 1.0.22
Post by: fenixproductions on June 13, 2009, 06:30 PM
2urlwolf
Do you mean shortcuts for Help -> Shortcuts or custom buttons? Or maybe both?
Title: Re: BBCeditor 1.0.22
Post by: urlwolf on June 14, 2009, 05:50 AM
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?
Title: Re: BBCeditor 1.0.22
Post by: fenixproductions on June 14, 2009, 08:37 AM
One thing: when I try to add an img, it dies with an unhandled exception. Did anyone have trouble with this?
Crap! You are right but only for new files. Easy to fix.

BTW You can drag'n'drop images into editor until next release.
Title: Re: BBCeditor 1.0.22
Post by: fenixproductions on June 14, 2009, 07:04 PM
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 ]

Title: Re: BBCeditor 1.0.23
Post by: cranioscopical on June 14, 2009, 07:44 PM
Keep it up fenix!  :up:

Title: Re: BBCeditor 1.0.23
Post by: fenixproductions on June 14, 2009, 10:13 PM
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 :(
Title: Re: BBCeditor 1.0.23
Post by: cranioscopical on June 14, 2009, 11:04 PM
I can't believe how could I make so simple mistake I found :(
-fenixproductions (June 14, 2009, 10:13 PM)
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  ;)
Title: Re: BBCeditor 1.0.24
Post by: fenixproductions on June 15, 2009, 04:15 PM
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 :)
Title: Re: BBCeditor 1.0.24
Post by: cranioscopical on June 15, 2009, 04:38 PM
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.
Title: Re: BBCeditor 1.0.24
Post by: fenixproductions on June 15, 2009, 04:52 PM
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 (June 15, 2009, 04:38 PM)
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 (June 15, 2009, 04:38 PM)
Not "yet" :) I need to get more familiar with this control.
Title: Re: BBCeditor 1.0.24
Post by: cranioscopical on June 15, 2009, 05:50 PM
I can't get the debug version to run... yet
"BBCeditor has encountered a problem and needs to close.  We are sorry..."
Title: Re: BBCeditor 1.0.24
Post by: fenixproductions on June 15, 2009, 05:53 PM
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.
Title: Re: BBCeditor 1.0.24
Post by: cranioscopical on June 15, 2009, 06:02 PM
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 (June 15, 2009, 05:53 PM)
Still occurs  :(
Title: Re: BBCeditor 1.0.24
Post by: fenixproductions on June 15, 2009, 06:08 PM
Still occurs  :(
-cranioscopical (June 15, 2009, 06:02 PM)
With second update too?
Title: Re: BBCeditor 1.0.25
Post by: fenixproductions on June 23, 2009, 07:42 PM
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
Title: Re: BBCeditor 1.0.26
Post by: fenixproductions on June 26, 2009, 09:35 AM
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 ]


Title: Re: BBCeditor 1.0.26
Post by: cranioscopical on June 26, 2009, 12:38 PM
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:
Title: Re: BBCeditor 1.0.27
Post by: fenixproductions on July 06, 2009, 12:20 AM
1.0.27 is out with small Replace fix.
Title: Re: BBCeditor 1.0.27
Post by: cranioscopical on July 06, 2009, 06:46 AM
 :up: :up:
Title: Re: BBCeditor 1.0.27
Post by: steeladept on July 13, 2009, 01:50 PM
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.....
Title: Re: BBCeditor 1.0.27
Post by: fenixproductions on July 13, 2009, 02:03 PM
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.
Title: Re: BBCeditor 1.0.27
Post by: Paul Keith on September 02, 2009, 10:11 AM
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?
Title: Re: BBCeditor 1.0.27
Post by: fenixproductions on September 02, 2009, 10:45 AM
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?
Title: Re: BBCeditor 1.0.27
Post by: Paul Keith on September 02, 2009, 11:11 AM
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.

Title: Re: BBCeditor 1.0.28
Post by: fenixproductions on September 03, 2009, 05:46 AM
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 ;).
Title: Re: BBCeditor 1.0.29
Post by: fenixproductions on September 03, 2009, 06:25 AM
1.0.29 is out with quick fix for list tag problem.

Thanks to cranioscopical for finding it.
Title: Re: BBCeditor 1.0.29
Post by: cranioscopical on September 03, 2009, 12:17 PM
Thanks, fenix'! That was quick.

Also, the inline mode is a good addition to BBCed  :up:
Title: Re: BBCeditor 1.0.29
Post by: shirty on February 27, 2010, 11:49 PM
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
Title: Re: BBCeditor 1.0.29
Post by: tomos on February 28, 2010, 03:56 PM
[...] to thank you for creating this useful piece of software [...]

+1 :)
Title: Re: BBCeditor 1.0.29
Post by: fenixproductions on March 01, 2010, 01:11 PM
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…
Title: Re: BBCeditor 1.0.29
Post by: David.P on April 21, 2010, 02:50 AM
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
Title: Re: BBCeditor 1.0.29
Post by: tinjaw on June 27, 2010, 06:54 AM
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 ]
Title: Re: BBCeditor 1.0.29
Post by: hamradio on June 28, 2010, 11:22 AM
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.
Title: Re: BBCeditor 1.0.29
Post by: tinjaw on June 29, 2010, 08:25 AM
You might see if going to Settings then Appearance tab and checking the Automatic preview options and if that don't work...
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.
Title: Re: BBCeditor 1.0.30
Post by: PapyRef on January 15, 2011, 02:21 AM
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 ?

Title: Re: BBCeditor 1.0.30
Post by: fenixproductions on January 15, 2011, 04:07 AM
@PapyRef
Here you are.

I will also add instructions how to build one to first post, as soon as I find more free time.
Title: "Image" and "Link" button function in BBCEditor
Post by: David.P on May 06, 2011, 03:47 AM
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
Title: Re: BBCeditor 1.0.30
Post by: fenixproductions on May 06, 2011, 11:15 AM
@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 ;)
Title: Re: BBCeditor 1.0.30
Post by: David.P on May 09, 2011, 02:25 AM
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 (May 06, 2011, 11:15 AM)

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
Title: Re: BBCeditor 1.0.30
Post by: tomos on August 11, 2011, 03:38 PM
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 ;)
Title: Re: BBCeditor 1.0.30
Post by: fenixproductions on August 12, 2011, 03:48 AM
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.
Title: Re: BBCeditor 1.0.30
Post by: Curt on March 30, 2012, 12:46 PM
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:
Title: Re: BBCeditor 1.0.30
Post by: fenixproductions on March 31, 2012, 05:19 PM
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.
Code: Text [Select]
  1. [General]
  2. MinimizeOnEscape=0
  3. MinimizeSave=0
  4. 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.
Title: Re: BBCeditor 1.1
Post by: Curt on March 31, 2012, 06:34 PM
-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.

Title: Re: BBCeditor 1.0.30
Post by: fenixproductions on March 31, 2012, 08:00 PM
@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.
Title: Re: BBCeditor 1.0.30
Post by: cranioscopical on March 31, 2012, 08:20 PM
BBCeditor 1.1 is ready for testing.
-fenixproductions (March 31, 2012, 05:19 PM)
Thanks fenix!
Title: Re: BBCeditor 1.0.30
Post by: cranioscopical on March 31, 2012, 08:37 PM
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?
Title: Re: BBCeditor 1.0.30
Post by: fenixproductions on March 31, 2012, 08:52 PM
@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?
Title: Re: BBCeditor 1.0.30
Post by: cranioscopical on March 31, 2012, 10:30 PM
@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 (March 31, 2012, 08:52 PM)

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.
Title: Re: BBCeditor 1.0.30
Post by: Curt on April 01, 2012, 02:15 AM
my copy of the initial 1.1 is running fine on my 64-bit Win 7.
Title: Re: BBCeditor 1.0.30
Post by: cranioscopical on April 01, 2012, 12:51 PM
my copy of the initial 1.1 is running fine on my 64-bit Win 7.

Thanks for that info Curt.

Nothing doing on my system, even in safe mode.
 
Title: Re: BBCeditor 1.0.30
Post by: fenixproductions on April 01, 2012, 01:18 PM
@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.
Title: Re: BBCeditor 1.0.30
Post by: cranioscopical on April 01, 2012, 02:06 PM
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 (April 01, 2012, 01:18 PM)
Very kind of you but, alas, not working.
Still running well with 1.0.29.0.
Title: Re: BBCeditor 1.0.30
Post by: cranioscopical on April 01, 2012, 02:13 PM
@fenix@
FWIW, the latest .net stuff I have is 4.0.30319
Title: Re: BBCeditor 1.0.30
Post by: fenixproductions on April 01, 2012, 05:22 PM
@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.
Title: Re: BBCeditor 1.0.30
Post by: cranioscopical on April 01, 2012, 08:33 PM
@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:
 
Title: Re: BBCeditor 1.0.30
Post by: paulhypno on June 24, 2012, 02:12 AM
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
Title: Re: BBCeditor 1.0.30
Post by: fenixproductions on June 24, 2012, 04:51 PM
@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.
Title: Re: BBCeditor 1.0.30
Post by: cranioscopical on June 25, 2012, 10:50 AM
In next 2-3 weeks I will have my laptop replaced with Win7/64bit one.
-fenixproductions (June 24, 2012, 04:51 PM)

 :Thmbsup:
Title: Re: BBCeditor 1.1.0.0
Post by: fenixproductions on July 06, 2012, 03:18 PM
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.
Title: Re: BBCeditor 1.0.30
Post by: tomos on July 06, 2012, 04:15 PM
Thanks

Please check.
-fenixproductions (July 06, 2012, 03:18 PM)

will do :up:
Title: Re: BBCeditor 1.1.0.0
Post by: cranioscopical on July 06, 2012, 09:44 PM
Please check.
-fenixproductions (July 06, 2012, 03:18 PM)
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.
Title: Re: BBCeditor 1.0.30
Post by: paulhypno on July 07, 2012, 12:49 AM

Please check.

-fenixproductions (July 06, 2012, 03:18 PM)

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
Title: Re: BBCeditor 1.0.30
Post by: Curt on July 07, 2012, 02:59 AM
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:
Title: Re: BBCeditor 1.0.30
Post by: paulhypno on July 07, 2012, 03:18 AM
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:

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?
Title: Re: BBCeditor 1.0.30
Post by: Curt on July 07, 2012, 04:17 AM
-yes, I first tested it in "Downloads", and only then moved it to Program Files, to type the post.

Title: Re: BBCeditor 1.0.30
Post by: David.P on July 07, 2012, 12:46 PM
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
Title: Re: BBCeditor 1.0.30
Post by: fenixproductions on July 07, 2012, 03:26 PM
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!

Title: Re: BBCeditor 1.0.30
Post by: David.P on July 07, 2012, 03:48 PM
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
Title: Re: BBCeditor 1.0.30
Post by: fenixproductions on July 07, 2012, 04:10 PM
Check your BIOS boot settings. "PXE" means the laptop thinks it is supposed to boot from LAN (thus the mention of "Cable").
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.
Title: Re: BBCeditor 1.1.0.0
Post by: tomos on July 07, 2012, 04:29 PM
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).
Title: Re: BBCeditor 1.0.30
Post by: fenixproductions on July 07, 2012, 04:46 PM
@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
Title: Re: BBCeditor 1.0.30
Post by: tomos on July 07, 2012, 06:02 PM
@tomos
Just a thought: maybe user/admin rights have something to do with BBC error?
-fenixproductions (July 07, 2012, 04:46 PM)

for the record:
my settings are Admin account with UAC at highest level.
Title: Re: BBCeditor 1.0.30
Post by: ioncube on July 15, 2012, 11:43 PM
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:

Code: HTML [Select]
  1. <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&amp;backgroundColor=%23222222&amp;documentId=120712003955-e4ff9f62ad7b4c62a48dd45527080c3e" name="movie"><param value="true" name="allowfullscreen"><param value="false" name="menu"><param value="transparent" name="wmode"><embed flashvars="mode=mini&amp;backgroundColor=%23222222&amp;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
Title: Re: BBCeditor 1.0.30
Post by: fenixproductions on July 17, 2012, 04:23 PM
@ioncube
Currently it is not possible to do that but I will try to add it over the weekend.
Title: Re: BBCeditor 1.0.30
Post by: ioncube on July 18, 2012, 06:34 AM
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&amp;backgroundColor=%23222222&amp;"+tmp+" name=\"movie\"><param value=\"true\" name=\"allowfullscreen\"><param value=\"false\" name=\"menu\"><param value=\"transparent\" name=\"wmode\"><embed flashvars=\"mode=mini&amp;backgroundColor=%23222222&amp;"+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
Title: Re: BBCeditor 1.0.30
Post by: fenixproductions on July 18, 2012, 11:50 AM
@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.
Title: Re: BBCeditor 1.0.30
Post by: cranioscopical on July 18, 2012, 12:21 PM
You will have the possibility to define any bbc string which will be replaced with custom HTML.
-fenixproductions (July 18, 2012, 11:50 AM)
Sounds good  :Thmbsup: :Thmbsup:
I wish I knew why the latest version won't run on my system  :(
Title: Re: BBCeditor 1.0.30
Post by: ioncube on July 18, 2012, 03:01 PM
@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 (July 18, 2012, 11:50 AM)

Something like this http://www.phpbb.com/community/viewtopic.php?t=579376 will be a dream come true  :Thmbsup:
Title: Re: BBCeditor 1.0.30
Post by: paulhypno on July 19, 2012, 01:28 AM
I wish I knew why the latest version won't run on my system  :(
-cranioscopical (July 18, 2012, 12:21 PM)

(x2) So would I  :tellme:
Title: Re: BBCeditor 1.0.30
Post by: fenixproductions on July 21, 2012, 01:08 PM
New version with Regexp tags added - please test:
http://fenixproductions.dcmembers.com/bbc/BBCeditor1133.zip
Title: Re: BBCeditor 1.0.30
Post by: paulhypno on July 21, 2012, 01:19 PM
New version with Regexp tags added - please test:
http://fenixproductions.dcmembers.com/bbc/BBCeditor1133.zip
-fenixproductions (July 21, 2012, 01:08 PM)

 :( 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
Title: Re: BBCeditor 1.0.30
Post by: fenixproductions on July 21, 2012, 02:12 PM
@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.
Title: Re: BBCeditor 1.0.30
Post by: paulhypno on July 21, 2012, 03:18 PM
@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 (July 21, 2012, 02:12 PM)

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

Title: Re: BBCeditor 1.0.30
Post by: fenixproductions on July 21, 2012, 03:28 PM
@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
Title: Re: BBCeditor 1.0.30
Post by: cranioscopical on July 21, 2012, 03:35 PM
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

Title: Re: BBCeditor 1.0.30
Post by: fenixproductions on July 21, 2012, 03:57 PM
@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.
Title: Re: BBCeditor 1.0.30
Post by: cranioscopical on July 21, 2012, 07:23 PM
@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 (July 21, 2012, 03:57 PM)

                      (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)


Title: Re: BBCeditor 1.0.30
Post by: paulhypno on July 22, 2012, 01:05 AM



                      (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 (July 21, 2012, 07:23 PM)

I second that!!  :beerchug: All working, Brilliant  :Thmbsup:
Title: Re: BBCeditor 1.0.30
Post by: fenixproductions on July 22, 2012, 04:30 AM
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
Title: Re: BBCeditor 1.0.30
Post by: ioncube on August 01, 2012, 12:24 PM
@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
Title: Re: BBCeditor 1.0.30
Post by: Target on August 01, 2012, 03:38 PM
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

Title: Re: BBCeditor 1.0.30
Post by: fenixproductions on August 02, 2012, 01:40 PM
@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 ;)
Title: Re: BBCeditor 1.0.30
Post by: cranioscopical on August 02, 2012, 03:24 PM
Hey fenix — never do things by halves (when you can do them by quarters).  :Thmbsup:
Title: Re: BBCeditor 1.0.30
Post by: Target on August 02, 2012, 05:09 PM
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 (August 02, 2012, 01:40 PM)

hehe, it's not like you had anything else to do though, is it...
Title: Re: BBCeditor 1.0.30
Post by: fenixproductions on August 02, 2012, 06:14 PM
hehe, it's not like you had anything else to do though, is it...
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.
Title: Re: BBCeditor 1.0.30
Post by: paulhypno on August 03, 2012, 03:24 AM
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
Title: Re: BBCeditor 1.0.30
Post by: fenixproductions on August 05, 2012, 06:39 PM
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.
Title: Re: BBCeditor 1.0.30
Post by: Target on August 07, 2012, 05:53 PM
@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 (August 05, 2012, 06:39 PM)

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?
Title: Re: BBCeditor 1.0.30
Post by: cranioscopical on August 07, 2012, 06:46 PM
[/b]
Test version with external applications added:
-fenixproductions (August 05, 2012, 06:39 PM)
With this version I'm back to it not starting up  :(
I'll dig around some and see what comes up.
Title: Re: BBCeditor 1.0.30
Post by: fenixproductions on August 08, 2012, 02:33 AM
@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.
Title: Re: BBCeditor 1.0.30
Post by: MilesAhead on August 09, 2012, 12:49 AM
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. :)
Title: Re: BBCeditor 1.0.30
Post by: ioncube on August 10, 2012, 12:20 PM
@ioncube
Expression: \[yell](.*?)\[/yell]
Replacement: <div style="background:yellow">$1</div>
-fenixproductions (August 02, 2012, 01:40 PM)
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
Code: Text [Select]
  1. [b{sometext}[/b]
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
Code: Text [Select]
  1. [yell](.*?)[/yell]{sometext}
:tellme:
So you have to manually substitute (.*?) with {sometext}
Title: Re: BBCeditor 1.1.35
Post by: fenixproductions on August 12, 2012, 06:18 PM
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
Title: Re: BBCeditor 1.1.35
Post by: MilesAhead on August 12, 2012, 07:38 PM
[/b]
- option for clearing non-existng Recent files on startup - MilesAhead
-fenixproductions (August 12, 2012, 06:18 PM)

Thank you. :)
Title: Re: BBCeditor 1.1.35
Post by: cranioscopical on August 12, 2012, 10:23 PM
error logging re-enabled - cranioscopical
-fenixproductions (August 12, 2012, 06:18 PM)
Great, thanks, I'll give it a try  :Thmbsup:
Title: Re: BBCeditor 1.0.30
Post by: cranioscopical on August 12, 2012, 10:34 PM
@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

Title: Re: BBCeditor 1.0.30
Post by: fenixproductions on August 13, 2012, 12:20 PM
@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.
Title: Re: BBCeditor 1.0.30
Post by: cranioscopical on August 13, 2012, 02:17 PM
@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 (August 13, 2012, 12:20 PM)
You nailed it!  :Thmbsup: :Thmbsup:
Thanks for taking the time.
Title: Re: BBCeditor 1.0.30
Post by: fenixproductions on August 13, 2012, 03:42 PM
@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 ;)
Title: Re: BBCeditor 1.0.30
Post by: cranioscopical on August 13, 2012, 07:41 PM
This is something to teach you being scrupulous
-fenixproductions (August 13, 2012, 03:42 PM)
I can't afford to be completely scrupulous, so I suppose I'm scru'd.
Thanks for the extra effort  :)
Title: Re: BBCeditor 1.0.30
Post by: ioncube on August 15, 2012, 09:17 PM
[/b]
- option for clearing non-existng Recent files on startup - MilesAhead
-fenixproductions (August 12, 2012, 06:18 PM)

Thank you. :)

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*?)
Title: Re: BBCeditor 1.0.30
Post by: fenixproductions on August 16, 2012, 03:45 AM
@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
Title: Re: BBCeditor 1.0.30
Post by: Curt on January 25, 2013, 05:36 PM
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:
Title: Re: BBCeditor 1.0.30
Post by: fenixproductions on January 26, 2013, 06:12 AM
@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).
Title: Re: BBCeditor 1.1.35
Post by: Curt on January 26, 2013, 07:25 AM
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:
Title: Re: BBCeditor 1.1.35
Post by: fenixproductions on January 26, 2013, 08:07 AM
@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 ]
Title: Re: BBCeditor 1.1.35
Post by: Curt on January 26, 2013, 04:32 PM
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?

Title: Re: BBCeditor 1.1.35
Post by: cranioscopical on January 27, 2013, 08:25 AM

@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]

 
Title: Re: BBCeditor 1.1.35
Post by: fenixproductions on January 27, 2013, 04:21 PM
@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.
Title: Re: BBCeditor 1.1.35
Post by: Curt on January 27, 2013, 05:26 PM
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.
Title: Re: BBCeditor 1.1.35
Post by: cranioscopical on January 27, 2013, 09:24 PM
@cranioscopical[/b]
I think that making selection "sticky" would help with your issue. I will take a look on it.
-fenixproductions (January 27, 2013, 04:21 PM)
Good idea, thanks for your time  :Thmbsup:
Title: Re: BBCeditor 1.1.35
Post by: Target on January 15, 2014, 07:42 PM
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
Title: Re: BBCeditor 1.1.35
Post by: fenixproductions on January 22, 2014, 05:39 PM
@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.
Title: Re: BBCeditor 1.1.35
Post by: Target on January 22, 2014, 06:28 PM
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.
Title: Re: BBCeditor 1.1.35
Post by: kraydl on February 24, 2014, 09:55 AM
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.
Title: Re: BBCeditor 1.1.35
Post by: fenixproductions on March 01, 2014, 04:50 PM
@kraydl
Just put at the top of style.css file:
body {
color:white;
background-color: black;
}
Title: Re: BBCeditor 1.1.35
Post by: kraydl on March 01, 2014, 05:51 PM
Thanks!
Title: Re: BBCeditor 1.1.35
Post by: Stephane1200 on July 07, 2014, 12:22 PM
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,
random title
your text


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
Title: Re: BBCeditor 1.1.35
Post by: Stephane1200 on July 10, 2014, 08:57 AM
Bump
C'mon guys don't let me down :(
Title: Re: BBCeditor 1.1.35
Post by: mouser on July 10, 2014, 10:02 AM
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:
Title: Re: BBCeditor 1.1.35
Post by: Stephane1200 on July 10, 2014, 03:34 PM
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:
Thanks for your reply and warm welcome.
I'll look fwd to your answer to my issue thanks again :D !!!
Title: Re: BBCeditor 1.1.35
Post by: fenixproductions on July 10, 2014, 04:27 PM
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 (July 07, 2014, 12:22 PM)

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 ]
Title: Re: BBCeditor 1.1.35
Post by: Stephane1200 on July 10, 2014, 05:56 PM
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 ;) !!!
Title: BBCeditor
Post by: napros on September 15, 2016, 08:16 AM
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.
Title: Re: BBCeditor 1.1.35
Post by: selfmodifyingcode on June 30, 2017, 07:22 AM
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?
Title: Re: BBCeditor 1.1.35
Post by: cranioscopical on June 30, 2017, 09:31 AM
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 (June 30, 2017, 07:22 AM)

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
Title: Re: BBCeditor 1.1.35
Post by: fenixproductions on March 16, 2018, 05:10 PM
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…
Title: Re: BBCeditor 1.1.35
Post by: mouser on March 16, 2018, 05:11 PM
Fenix, there is also http://www.dcmembers.com/fenix/
Title: Re: BBCeditor 1.1.35
Post by: fenixproductions on March 16, 2018, 05:13 PM
@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 :)
Title: Re: BBCeditor 1.1.35
Post by: mouser on March 16, 2018, 05:35 PM
Whatever's best for you is fine for us! As long as the files are available for download somewhere  :up:
Title: Re: BBCeditor 1.1.35
Post by: smaragdus on May 26, 2018, 11:24 PM
@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:

Title: Re: BBCeditor 1.1.35
Post by: tomos on May 27, 2018, 02:34 PM
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).
I've been using BBCeditor casually for years and I learned a couple of things from that review.
thanks!

Title: Re: BBCeditor 1.1.35
Post by: mouser on May 27, 2018, 03:12 PM
 :Thmbsup: :Thmbsup: :Thmbsup:
Title: Re: BBCeditor 1.1.35
Post by: abouffard on May 13, 2021, 11:03 PM
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

Title: Re: BBCeditor 1.1.35
Post by: wraith808 on May 14, 2021, 08:25 AM
The sources are in the first post.
Title: Re: BBCeditor 1.1.35
Post by: rexar on February 18, 2024, 01:34 AM
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 (March 16, 2018, 05:10 PM)

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)