Goodbeye Notepad clones Welcome Geany!!!
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexChit-Chat
Author Message
DJ Maze
Developer


Joined: Apr 19, 2004
Posts: 5668
Location: http://tinyurl.com/5z8dmv

PostPost subject: Goodbeye Notepad clones Welcome Geany!!!
Posted: Wed Mar 12, 2008 9:14 am
Reply with quote

Nothing more to say then that this is the nicest editor around.

geany.uvena.de/

_________________
There are two paths, the short one and the long one.
When you choose the short path you will notice it takes longer then the long path.
So READ the FAQ and Wiki first Razz

DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 12 / 2.2.15 / 5.1.47 / 5.3.3 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger
layingback
Forum Admin


Joined: Apr 19, 2004
Posts: 953

PostPost subject: Re: Goodbeye Notepad clones Welcome Geany!!!
Posted: Wed Mar 12, 2008 3:58 pm
Reply with quote

Thanks. At quick glance it may now be possible to drop Notepad++ under Wine! Smile

And it's available under Ubuntu Ad/Remove/Synaptic - but listed as an IDE which is why I completely missed it I guess ...

_________________
Pro_News: The complete module for Dragonfly - now available as version 3.3

layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6 - 3.6 / 1.3.42 - 2.2.12 / 5.0.92 - 5.1.37 - 5.1.54 / 4.4.49 - 5.2.17 - 5.3 / 9.2.1
Back to top
View user's profile Visit poster's website
WebSiteGuru
1000+ Posts Club


Joined: Jun 09, 2005
Posts: 2321

PostPost subject: Re: Goodbeye Notepad clones Welcome Geany!!!
Posted: Wed Mar 12, 2008 5:34 pm
Reply with quote

Cool bean, Now I can use something that have line number. Very Happy

Hopefully it will also be under PCLinuxOS Synaptic, Wink I just changed Distro from Ubuntu to PCLinuxOS. Very Happy

_________________
Lead Theme Designer - WebSiteGuru Designs

WebSiteGuru's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.9 / Apache 2.2.6 / MySQL 5.0.27 / PHP 5 / DF Version 9.2.1
Back to top
View user's profile Visit poster's website Yahoo Messenger
DJ Maze
Developer


Joined: Apr 19, 2004
Posts: 5668
Location: http://tinyurl.com/5z8dmv

PostPost subject: Re: Goodbeye Notepad clones Welcome Geany!!!
Posted: Wed Mar 12, 2008 6:14 pm
Reply with quote

It's small, fast and has code completion!

I never knew these features could be in such fast programs.

Not to mention that is cross-platform so you always have the same syntax highlighting and tricks on all platforms.
That just "feels" comfortable no matter if i boot Windows, CentOS or my Fedora 8.

I should build tags files for theme designers and php coders.
That way any Dragonfly user can easily program with the Dragonfly specific functions and constructs on any platform using Geany.


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 12 / 2.2.15 / 5.1.47 / 5.3.3 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger
layingback
Forum Admin


Joined: Apr 19, 2004
Posts: 953

PostPost subject: Re: Goodbeye Notepad clones Welcome Geany!!!
Posted: Wed Mar 12, 2008 6:30 pm
Reply with quote

DJ Maze wrote:
I should build tags files for theme designers and php coders.
That way any Dragonfly user can easily program with the Dragonfly specific functions and constructs on any platform using Geany.

Now that would be cool!

(Looks as if the Dragonfly standard template comment text at start of module could be similarly defined.)

Looking at website, I think I need to upgrade to 1.1.3 asap for the new features. Smile

_________________
Pro_News: The complete module for Dragonfly - now available as version 3.3

layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6 - 3.6 / 1.3.42 - 2.2.12 / 5.0.92 - 5.1.37 - 5.1.54 / 4.4.49 - 5.2.17 - 5.3 / 9.2.1
Back to top
View user's profile Visit poster's website
Phoenix
Site Admin


Joined: Apr 19, 2004
Posts: 8729
Location: Netizen

PostPost subject: Re: Goodbeye Notepad clones Welcome Geany!!!
Posted: Wed Mar 12, 2008 9:27 pm
Reply with quote

Geany wrote:
(almost) full build support on Windows


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
JG6_oddball
Newbie


Joined: Mar 16, 2008
Posts: 5
Location: chicago,usa

PostPost subject: Re: Goodbeye Notepad clones Welcome Geany!!!
Posted: Sat Mar 29, 2008 10:46 pm
Reply with quote

wow, thnx i just installed it... I love Kubuntu Smile

S!


JG6_oddball's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
unsure
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer


Joined: Jun 29, 2004
Posts: 3677
Location: Melbourne, AU

PostPost subject: Re: Goodbeye Notepad clones Welcome Geany!!!
Posted: Tue Jun 03, 2008 11:53 am
Reply with quote

layingback wrote:
but listed as an IDE which is why I completely missed it I guess ...
Yeah same for me Cool

_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 5.1 / PHP 5.3 / NextGen()
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer


Joined: Jun 29, 2004
Posts: 3677
Location: Melbourne, AU

PostPost subject: Re: Goodbeye Notepad clones Welcome Geany!!!
Posted: Sun Jun 29, 2008 2:23 pm
Reply with quote

In fact it is an IDE lol, not a text editor with highlight functions. Its definitively an IDE.

But with geanyvc and spellcheck plugins installed its now even my main text editor.

_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 5.1 / PHP 5.3 / NextGen()
Back to top
View user's profile Visit poster's website
layingback
Forum Admin


Joined: Apr 19, 2004
Posts: 953

PostPost subject: Re: Goodbeye Notepad clones Welcome Geany!!!
Posted: Sun Mar 01, 2009 10:43 am
Reply with quote

For those of you under Ubuntu, you'll have noticed that each version of Ubuntu's repositories are a version or 2 behind with respect to Geany. It's not hard to install the latest Geany from the home page, but it is work.

I just discovered this site with complete builds of later versions of popular apps, including Geany. Simply download select open with the default installer, and it's installed - as easy as using an official repository. (Some apps require upgrading of dependences first, but Geany doesn't - on my system anyway.)

Just ensure that you are selecting the correct one for your version of Ubuntu! Link is to 32bit Intrepid, but they have versions for 32 & 64bit of Intrepid & Hardy.

Geany 0.16 (vs 0.13 in Ubuntu repositories) adds vertical split screen, and auto completion of (, {, [, ', and ".

But note your toolbar settings before upgrading, as you will need to update it after, as 0.16 has a simpler default toolbar set.

Enjoy!

_________________
Pro_News: The complete module for Dragonfly - now available as version 3.3

layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6 - 3.6 / 1.3.42 - 2.2.12 / 5.0.92 - 5.1.37 - 5.1.54 / 4.4.49 - 5.2.17 - 5.3 / 9.2.1
Back to top
View user's profile Visit poster's website
Eestlane
I18N / L10N Lead Dev


Joined: Apr 06, 2005
Posts: 1406
Location: Estonia

PostPost subject: Re: Goodbeye Notepad clones Welcome Geany!!!
Posted: Sun Mar 01, 2009 11:41 am
Reply with quote

Geany looks great. If it's IDE, does it also support Java and compiling it? (IntelliJ Idea is just a bit too slow for some quicktasks and too massive)

Eestlane's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.0.63/5.0.67/5.2.8/9.2.1
Back to top
View user's profile Send e-mail Visit poster's website
DJ Maze
Developer


Joined: Apr 19, 2004
Posts: 5668
Location: http://tinyurl.com/5z8dmv

PostPost subject: Re: Goodbeye Notepad clones Welcome Geany!!!
Posted: Sun Mar 01, 2009 1:41 pm
Reply with quote

Great layingback, i will check it out!

As for compiling Java? No idea if it works but you just point to a compiler and hit the button.

I do this all the time for PHP to check if my script is still valid.


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 12 / 2.2.15 / 5.1.47 / 5.3.3 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger
greenday2k
Forum Admin


Joined: Aug 11, 2005
Posts: 484
Location: CO

PostPost subject: Re: Goodbeye Notepad clones Welcome Geany!!!
Posted: Thu Sep 03, 2009 4:50 am
Reply with quote

VERSION 2.0 - UPDATED 13/08/2010


I've builded the TAGS and snippets files for Dragonfly CMS.
Tested on Geany 0.16 on Ubunthu / Windows.

Linux: The files should be placed on the user's (home) directory:

~/.geany/snippets.conf
~/.geany/tags/dragonfly.php.tags (tags are activated on PHP files (*.php|*.inc))

on Windows 7:

C:\Users\YOURUSERNAME\AppData\Roaming\geany

The snippets.conf file includes "snippets" for other languages: php, java, python etcetera!. Please make sure you don't delete your custom snippets.

I've chosen the common php & HTML code snippets for DF, vars and functions FROM DF 9.2. In Some functions I've included the default values for a quick reference. The TAGS are written in the simplest way PIPE (not the complex way, but if we build a "complete" list of common functions|vars|html|php then then i possible to start making the TAGS & snippets on the format=tagmanager way)

More Info & Reference.
www.geany.org/manual/c...lobal-tags

Make sure you have auto completion enabled!


Suggestions ARE PRETTY WELCOMED, code snippets, common $vars, functions and so on.




TAGGED functions (auto completion):

Code:
adminlink()
bbcode_table($field, 'form', 0);
blocks_list($module=null)
can_admin($module)
check_words($message)
close_form()
CloseTable()
CloseTable2()
cpg_delete_msg($link, $msg, $hidden);
cpg_error($message, $title, $redirect);
$db->sql_freeresult($result);
decode_bb_all($text, $allowed=0, $allow_html=false, $url='');
decode_bbcode($text, $allowed=0, $allow_html=false);
decode_ip($ip)
define_nobody($file)
define('XMLFEED', true);
encode_bbcode($text);
encode_ip($ip)
filesize_to_human($size, $precision=2)
file_write($filename, &$content, $mode='wb')
Fix_Quotes($string, false, false);
formatDateTime($time, $format)
generate_secimg($chars)
get_lang()
getlink()
get_microtime()
get_theme()
getusrdata($user, $data='*')
gmtime()
GraphicAdmin('_AMENU');
group_selectbox($fieldname, $current, $mvanon, $all)
html2bb($text)
htmlprepare($str, $nl2br=false, $spchar=ENT_QUOTES, $nohtml=false)
htmlunprepare($str, $nl2br=false)
in_group($id)
ip2long32($ip, $unsigned=false)
is_active($module)
is_admin()
is_email($email)
is_user() 
message_prepare($message, true, true);
open_form($link='', $form_name, $legend, $tborder)
OpenTable()
OpenTable2()
pagination($base_url, $num_items, $per_page, $start_item, true);
Prepare_INPUT(&$value, $key, $set=true)
removecrlf($str)
require_once('header.php');
require_once('includes/cmsinit.inc');
select_box($name, $default, $options)
select_option($name, $default, $options)
send_mail($mailer_message, $message, $html, $subject, $to, $to_name, $from, $from_name, false)
show_tooltip($tip)
smilies_table('window', $field, $form);
strip_javascript($text, $events=true)
trigger_error()
validate_secimg($chars)
viewbanner()
yesno_option($name, $value)

Also auto completion for the $userinfo array snippet(TAG & snippet):

if you start typing "usr_"

auto completation starts showing the options (the columns for on the _users table [default]) for example:

Code:
usr_active_cp| usr_active| usr_actkey| usr_aim| usr_allowavatar|

Choosing (For Example) usr_allow_viewonline and THEN PRESSING TAB will convert it to
Code:
$userinfo['user_allow_viewonline']

TAGGED & Snippet For $db-> Updated for version 2: type db_ and name of method:
On the old version tags were "complicated" to memorize/learn.

Code:
db_arguments = $db->sql_affectedrows($result); 
db_count = $db->sql_count(''.$prefix.'_'); 
db_fetch = $db->sql_fetchrow(''.$prefix.'_',SQL_ASSOC); 
db_free = $db->sql_freeresult($result); 
db_fetchrow = $db->sql_fetchrowset('SELECT  FROM '.$prefix.'_ WHERE  ORDER BY  LIMIT'); 
db_insert = $db->sql_insert(''.$prefix.'_', fields, false); 
db_numfields = $db->sql_numfields($result); 
db_nextid = $db->sql_nextid($idfield); 
db_numrows = $db->sql_numrows($result); 
db_query = $db->sql_query(''.$prefix.'_', FALSE,FALSE); 
db_rowseek = $db->sql_rowseek($rownum); 
db_update = $db->sql_update(''.$prefix.'_', fields, 'where', false); 
db_ufetchrow = $db->sql_ufetchrow('SELECT  FROM '.$prefix.'_ WHERE  ORDERBY  LIMIT'); 
## require_once


so if you type: db_fetchrow AND PRESS TAB you'll get:
Code:
 $db->sql_fetchrow(''.$prefix.'_',SQL_ASSOC);

*** : After the auto completion the cursor will placed there.

Common Vars TAGGED (autocompletion):

Code:
$adminindex
$banners
$bgcolor1
$bgcolor2
$bgcolor3
$bgcolor4
$Blocks
$copyright
$CPG_SESS
$cpgtpl
$db
$db,$Blocks
$foot1
$foot2
$foot3
$_GET
$gfxcolor
$MAIN_CFG
$mainindex
$METATAGS
$module
$module_name
$pagetitle
$_POST
$prefix
$result
$sec_code
$showblocks
$site_logo
$sitename
$slogan
$start_time
$textcolor1
$textcolor2
$ThemeSel
$userinfo
$user_prefix

Snippets
Snippets are small strings or code constructs which can be replaced or completed to a more complex string. For .php and .html Files.

Class/function: Prefix

Cache: cache_
Code:
cache_save = Cache::array_save($name, $module_name, $array);
cache_load =  Cache::array_load($name, $module_name, $global)
cache_del =  Cache::array_delete($name, $module_name);

so if you type cache_del AND PRESS TAB you'll get:
Code:
Cache::array_delete($name, $module_name);

And So on.

Security Class: sec_

Code:
sec_check = Security::check(); 
sec_post = Security::check_post(); 
sec_domain = Security::check_domain($domain)
sec_email = Security::check_email($email)
sec_ip = Security::get_ip()

require_once: req_
Code:
req_bb = require_once(CORE_PATH.'nbbcode.php'); 
req_hd = require_once('header.php'); 

template tpl_
Code:
tpl_set = $cpgtpl->set_filenames(array('body' => '.html')); 
tpl_vars = $cpgtpl->assign_vars(array(   'U_' => $var1,   'L_' => LANGCONSTANT,   )); 
tpl_block = $cpgtpl->assign_block_vars('block_vars', array(   'U_' => $var1,   'L_' => LANGCONSTANT,   )); 
tpl_display = $cpgtpl->display('body',true); 

comments class (made by Kendle) The will be updates to integrate the jquery class and the updated versions of the comment class.
Code:
class_comm = require_once(CORE_PATH.'classes/comment.php');  $var =& new comment($mod, $link, $page, $key1, $key2, $op); 

file class: file_
Code:
file_analyze = CPG_File::analyze_path(); 
file_move = CPG_File::move_upload($file, $newfile); 
file_write = CPG_File::write($filename, $content, $mode); 
file_copy = CPG_File::copy_special($oldfile, $newfile); 
file_secure = CPG_File::secure_download($error, $filename, $realname); 

rss : rss_
Code:
rss_read = CPG_RSS::read($url, $items_limit); 
rss_format = CPG_RSS::format($rss); 
rss_get = CPG_RSS::_get_tag($tagname, $string, $encoding); 

Open & Close tables

Code:
opentable= OpenTable(); 
closetable = CloseTable(); 
opentable2 = OpenTable2(); 
closetable2 = CloseTable2(); 

Modules: commo used lines of code.
Code:
mod_ini = if (!defined('CPG_NUKE')) { exit; } 
mod_global =  global $db, $user_prefix, $prefix, $cpgtpl, $userinfo, $MAIN_CFG, $CPG_SESS,$multilingual, $currentlang,$ThemeSel,$METATAGS,$pagetitle; 
admin_ini = if (!defined('ADMIN_PAGES')) { exit; } if (!can_admin('INSERT_MODULE_NAME')) { die('Access Denied'); } 
lang_def =define('_',''); 

mod_global, inserts a new line with "common" global Vars.
lang_def, creates the basic code to make language files.

$userinfo: usr_
Code:
usr_active_cp = $userinfo['user_active_cp']
usr_active = $userinfo['user_active']
usr_actkey = $userinfo['user_actkey']
usr_aim = $userinfo['user_aim']
usr_allowavatar = $userinfo['user_allowavatar']
usr_allowbbcode = $userinfo['user_allowbbcode']
usr_allowhtml = $userinfo['user_allowhtml']
usr_allow_pm = $userinfo['user_allow_pm']
usr_allowsmile = $userinfo['user_allowsmile']
usr_allow_viewonline = $userinfo['user_allow_viewonline']
usr_attachsig = $userinfo['user_attachsig']
usr_avatar_type = $userinfo['user_avatar_type']
usr_bio = $userinfo['bio']
usr_commentmax = $userinfo['commentmax']
usr_counter = $userinfo['counter']
usr_dateformat = $userinfo['user_dateformat']
usr_dateformat = $userinfo['user_dateformat]
usr_dst = $userinfo['user_dst']
usr_email = $userinfo['user_email']
usr_femail = $userinfo['femail']
usr_from = $userinfo['user_from']
usr_group_cp = $userinfo['user_group_cp']
usr_group_list_cp= $userinfo['user_group_list_cp']
usr_icq = $userinfo['user_icq']
usr_id = $userinfo['user_id']
usr_interests = $userinfo['user_interests']
usr_karma_time = $userinfo['karma_time']
usr_karma = $userinfo['karma']
usr_lang = $userinfo['user_lang']
usr_last_privmsg = $userinfo['user_last_privmsg']
usr_lastvisit = $userinfo['user_lastvisit']
usr_level = $userinfo['user_level']
usr_msn = $userinfo['user_msnm']
usr_name = $userinfo['name']
usr_newpasswd = $userinfo['user_newpasswd']
usr_new_privmsg = $userinfo['user_new_privmsg']
usr_newsletter = $userinfo['newsletter']
usr_noscore = $userinfo['noscore']
usr_notify_pm = $userinfo['user_notify_pm']
usr_notify = $userinfo['user_notify']
usr_password = $userinfo['user_password']
usr_posts = $userinfo['user_posts']
usr_rank = $userinfo['user_rank']
usr_regdate = $userinfo['user_regdate']
usr_report_optin = $userinfo['user_report_optin']
usr_session_time = $userinfo['user_session_time']
usr_show_avatars= $userinfo['user_show_avatars']
usr_show_signatures = $userinfo['user_show_signatures']
usr_sig_bbcode_uid = $userinfo['user_sig_bbcode_uid']
usr_sig = $userinfo['user_sig']
usr_skype = $userinfo['user_skype']
usr_storynum = $userinfo['storynum']
usr_style = $userinfo['user_style']
usr_susdel_reason = $userinfo['susdel_reason']
usr_theme = $userinfo['theme']
usr_thold = $userinfo['thold']
usr_timezone = $userinfo['user_timezone']
usr_ublockon = $userinfo['ublockon']
usr_ublock = $userinfo['ublock']
usr_umode = $userinfo['umode']
usr_unread_privmsg = $userinfo['user_unread_privmsg']
usr_uorder = $userinfo['uorder']
usr_user_avatar = $userinfo['user_avatar']
usr_username = $userinfo['username']
usr_user_occ = $userinfo['user_occ']
usr_user_popup_pm = $userinfo['user_popup_pm']
usr_viewmail = $userinfo['user_viewemail']
usr_website = $userinfo['user_website']
usr_xfire = $userinfo['user_xfire']
usr_yim = $userinfo['user_yim']

HTML templates (trigggered only on .html files):

Code:
begin = <!-- BEGIN -->  <!-- END -->
ifend = <!-- IF -->      <!-- ELSE -->  <!-- ENDIF -->
bvar = {block._VAR}
is_u = <!-- IF S_IS_USER -->      <!-- ELSE -->  <!-- ENDIF --> 

_________________
www.greenday2k.net



greenday2k's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)


Last edited by greenday2k on Sat Aug 14, 2010 5:55 pm; edited 4 times in total
Back to top
View user's profile Visit poster's website MSN Messenger Yahoo Messenger
Eestlane
I18N / L10N Lead Dev


Joined: Apr 06, 2005
Posts: 1406
Location: Estonia

PostPost subject: Re: Goodbeye Notepad clones Welcome Geany!!!
Posted: Thu Sep 03, 2009 8:38 am
Reply with quote

Cool! I should try Geany out again (though also like Web IDE).

Eestlane's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.0.63/5.0.67/5.2.8/9.2.1
Back to top
View user's profile Send e-mail Visit poster's website
greenday2k
Forum Admin


Joined: Aug 11, 2005
Posts: 484
Location: CO

PostPost subject: Re: Goodbeye Notepad clones Welcome Geany!!!
Posted: Fri Aug 13, 2010 7:49 pm
Reply with quote

Updated the Tags files for geany.
_________________
www.greenday2k.net



greenday2k's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website MSN Messenger Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexChit-Chat All times are GMT
Go to page 1, 2  Next
Page 1 of 2


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

stopsoftwarepatents.eu petition banner
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
This page generated in 1.4409 seconds with 19 DB Queries in 0.0388 seconds
Memory Usage: 3.08 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy