WordPress.org

Plugin Directory

Changeset 607876


Ignore:
Timestamp:
10/04/12 13:11:48 (19 months ago)
Author:
bainternet
Message:

fixed rtl, scroll issues

Location:
advanced-code-editor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • advanced-code-editor/trunk/advanced-code-editor.php

    r607254 r607876  
    44Plugin URI: http://en.bainternet.info 
    55Description: Enables syntax highlighting in the integrated themes and plugins source code editors with line numbers, AutoComplete and much more. Supports PHP, HTML, CSS and JS. 
    6 Version: 2.1.5 
     6Version: 2.1.6 
    77Author: BaInternet 
    88Author URI: http://en.bainternet.info 
    99*/ 
    1010/* 
    11         *   Copyright (C) 2011-2012  Ohad Raz 
     11        *   Copyright (C) 2011-2012  Ohad Raz 
    1212        *   http://en.bainternet.info 
    1313        *   admin@bainternet.info 
     
    704704             
    705705            $url = plugins_url()."/advanced-code-editor/"; 
    706             $v = "1.1.1.512";//$this->version; 
     706            $v = $this->version; 
    707707            wp_enqueue_script( 'jquery' ); 
    708708            wp_enqueue_script( 'jquery-form' ); 
     
    755755           ?> 
    756756            <style> 
     757             
    757758            .ace_tool_bar{list-style: none;} 
    758759            .ace_tool_bar li{cursor: pointer;} 
    759760            .completions {position: absolute;z-index: 10;overflow: hidden;-webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);-moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);box-shadow: 2px 3px 5px rgba(0,0,0,.2);} 
    760761            .completions select {background: #fafafa;outline: none;border: none;padding: 0;margin: 0;font-family: monospace;} 
    761             .CodeMirror {border: 1px solid #eee;} 
     762            .CodeMirror {border: 1px solid #eee; overflow-y: hidden;overflow-x: auto;} 
     763            .CodeMirror-scroll {overflow: auto;}  
     764             
    762765             <?php if (!is_rtl()){?> 
     766 
    763767            .fullscreen{background-color: #FFFFFF;height: 89%;left: 0;position: fixed;top: 80px;width: 100%;z-index: 100;} 
    764768            .ace_ToolBar{background-color: #FFFFFF;left: 0;min-height: 85px;position: fixed;top: 0;width: 100%;z-index: 100;} 
    765              
    766             .CodeMirror {border: 1px solid #eee;}  
     769            #template div {margin-right: 0;} 
     770 
    767771            /*toolbar*/ 
    768             #template div {margin-right: 0;} 
     772             
    769773            .ace_tool_bar li{float: left; } 
    770774            .clean_ace{clear:left;} 
    771775 
    772776            <?php }else{ ?> 
    773             /*#template div {margin-left: 0px;}*/ 
     777            #template div {margin-left: 0px;} 
    774778            .fullscreen{background-color: #FFFFFF;height: 89%;right: 0;position: fixed;top: 80px;width: 100%;z-index: 100;} 
    775779            .ace_ToolBar{background-color: #FFFFFF;right: 0;min-height: 85px;position: fixed;top: 0;width: 100%;z-index: 100;} 
    776780            .ace_tool_bar li{float: right; } 
    777  
    778             .CodeMirror-lines{direction: ltr;} 
     781            .clean_ace{clear:right;} 
     782            .CodeMirror{direction: ltr;} 
    779783            .completions{direction: ltr;} 
    780784              <?php } ?> 
  • advanced-code-editor/trunk/readme.txt

    r607254 r607876  
    55Requires at least: 3.0 
    66Tested up to: 3.5 
    7 Stable tag: 2.1.5 
     7Stable tag: 2.1.6 
    88 
    99Enables syntax highlighting in the integrated themes and plugins source code editors with line numbers, AutoComplete and much more. Supports PHP, HTML, CSS and JS. 
     
    8484 
    8585== Changelog == 
     862.1.6 
     87Fixed Scroll issues. 
     88Fixed RTL version. 
     89 
    86902.1.5 
    8791updated codemirror lib to 2.34. 
Note: See TracChangeset for help on using the changeset viewer.