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, 3:17 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 260579 times)

Target

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

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: BBCeditor 1.0.30
« Reply #201 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.
« Last Edit: August 02, 2012, 06:21 PM by fenixproductions »

paulhypno

  • Participant
  • Joined in 2012
  • *
  • default avatar
  • Posts: 8
    • View Profile
    • Donate to Member
Re: BBCeditor 1.0.30
« Reply #202 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

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: BBCeditor 1.0.30
« Reply #203 on: August 05, 2012, 06:39 PM »
I did not prepare RegExp examples yet but…

@Target
Test version with external applications added:
http://fenixproducti...bc/BBCeditor1134.zip

@paulhypno
I think Ctrl+A and Ctrl+C are enough for this task.

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,832
    • View Profile
    • Donate to Member
Re: BBCeditor 1.0.30
« Reply #204 on: August 07, 2012, 05:53 PM »
@Target
Test version with external applications added:
http://fenixproducti...bc/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?

cranioscopical

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

fenixproductions

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

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: BBCeditor 1.0.30
« Reply #207 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. :)

ioncube

  • Participant
  • Joined in 2012
  • *
  • Posts: 6
    • View Profile
    • Donate to Member
Re: BBCeditor 1.0.30
« Reply #208 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}

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: BBCeditor 1.1.35
« Reply #209 on: August 12, 2012, 06:18 PM »
1.1.35:
http://fenixproducti...bc/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 as ioncube suggested
« Last Edit: August 12, 2012, 07:37 PM by fenixproductions »

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: BBCeditor 1.1.35
« Reply #210 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. :)

cranioscopical

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

cranioscopical

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


fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: BBCeditor 1.0.30
« Reply #213 on: August 13, 2012, 12:20 PM »
@cranioscopical
Try this one:
http://fenixproducti...c/BBCeditor1135b.zip

If it works I will need to note somewhere down that each work with Designer requires manual code re-arrangement.

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: BBCeditor 1.0.30
« Reply #214 on: August 13, 2012, 02:17 PM »
@cranioscopical
Try this one:
http://fenixproducti...c/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.

fenixproductions

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

cranioscopical

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

ioncube

  • Participant
  • Joined in 2012
  • *
  • Posts: 6
    • View Profile
    • Donate to Member
Re: BBCeditor 1.0.30
« Reply #217 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*?)

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: BBCeditor 1.0.30
« Reply #218 on: August 16, 2012, 03:45 AM »
@ioncube
Long info:
http://www.regular-e...s.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

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
Re: BBCeditor 1.0.30
« Reply #219 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:
« Last Edit: January 25, 2013, 05:43 PM by Curt »

fenixproductions

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

Curt

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

2013-01-26_141632.gif

 :tellme:

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: BBCeditor 1.1.35
« Reply #222 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:
Screenshot - 2013-01-26 , 15_11_14.png

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
Re: BBCeditor 1.1.35
« Reply #223 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?

« Last Edit: January 26, 2013, 04:39 PM by Curt »

cranioscopical

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