topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday March 19, 2024, 4:27 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: BBCeditor 1.1.35  (Read 260584 times)

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
BBCeditor 1.1.35
« 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
Download
Sources



.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:
bbscreen.PNGBBCeditor 1.1.35
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;

« Last Edit: March 18, 2018, 05:36 PM by fenixproductions »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: BBCeditor
« Reply #1 on: March 25, 2009, 07:12 PM »
Nice  :Thmbsup:

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: BBCeditor
« Reply #2 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.

superboyac

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
    • View Profile
    • Donate to Member
Re: BBCeditor
« Reply #3 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.

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: BBCeditor
« Reply #4 on: March 26, 2009, 01:46 PM »
2superboyac
This is something I've been planning to add after spell check.

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: BBCeditor
« Reply #5 on: March 26, 2009, 02:36 PM »
Small update to see if SpellChecker works correctly. Please test :)

P.S. Only english for now.

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: BBCeditor
« Reply #6 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?

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: BBCeditor
« Reply #7 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. :)
« Last Edit: March 26, 2009, 04:50 PM by cranioscopical »

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: BBCeditor
« Reply #8 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.

superboyac

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
    • View Profile
    • Donate to Member
Re: BBCeditor
« Reply #9 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!

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: BBCeditor
« Reply #10 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 :)

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: BBCeditor 1.0.3
« Reply #11 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.

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: BBCeditor 1.0.4
« Reply #12 on: March 29, 2009, 12:09 AM »
1.0.4 is out.

I've fixed lower toolbar images scalling (too much comments in code ;)

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: BBCeditor 1.0.4
« Reply #13 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:

steeladept

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,061
    • View Profile
    • Donate to Member
Re: BBCeditor 1.0.4
« Reply #14 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.

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: BBCeditor 1.0.4
« Reply #15 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?

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: BBCeditor 1.0.5
« Reply #16 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.

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: BBCeditor 1.0.5
« Reply #17 on: April 03, 2009, 04:59 PM »
Is the table bit right?

with a 3 x 3 I get:
1050table.pngBBCeditor 1.1.35
 

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: BBCeditor 1.0.5
« Reply #18 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:

table.pngBBCeditor 1.1.35

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").
« Last Edit: April 03, 2009, 06:32 PM by fenixproductions »

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: BBCeditor 1.0.5
« Reply #19 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.
« Last Edit: April 03, 2009, 06:36 PM by fenixproductions »

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: BBCeditor 1.0.5
« Reply #20 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

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: BBCeditor 1.0.6
« Reply #21 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 :(
« Last Edit: April 03, 2009, 07:44 PM by fenixproductions »

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: BBCeditor 1.0.7
« Reply #22 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.
« Last Edit: April 05, 2009, 06:45 PM by fenixproductions »

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: BBCeditor 1.0.7
« Reply #23 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?)


fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: BBCeditor 1.0.7
« Reply #24 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?